企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# C.92 SvnCommitTask The `SvnCommitTask` commits a local working copy to a SVN repository and sets the specified property ( default `svn.committedrevision`) to the revision number of the committed revision. Table C.125:聽Attributes NameTypeDescriptionDefaultRequired`svnpath``String`Path to Subversion binary/usr/bin/svnNo`username``String`A username used to connect to the SVN servernoneNo`password``String`A password used to connect to the SVN servernoneNo`nocache``Boolean`Connection credentials will not be cached`false`No`depth``String`Limit operation by depth`empty`, `files`, `immediates` or `infinity`No`workingcopy``String`Working copynoneYes`message``String`The commit messagenoneYes`ignoreexternals``Boolean`Ignore externals definitions`false`No`trustServerCert``Boolean`Trust self-signed certificates`false`No`propertyname``String`Name of property to set to the last committed revision numbersvn.committedrevisionNo C.92.1 Example ``` <svncommit svnpath="/usr/bin/svn" username="anony" password="anony" nocache="true" workingcopy="/home/joe/dev/project" message="Updated documentation, fixed typos" /> ``` The most basic usage only needs the working copy and the commit message as in ``` <svncommit workingcopy="/home/joe/dev/project" message="Updated documentation, fixed typos" /> <echo message="Committed revision: ${svn.committedrevision}"/> ```