多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 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}"/> ```