Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The cruisecontrol ant invocation has nothing to do with the (svn)label that is contructed as such. The svn label is used to annotate the build-names whereas the build.log is really just the output from ant as it is passed through cruisecontrol.</p> <p>If you would like to have the revision number written to the ant build output, there are basically two ways:</p> <p>One way is to have ant interact with svn in some way. Svn in ant is only available through a <a href="http://subclipse.tigris.org/svnant/svn.html" rel="nofollow noreferrer">contrib ant task</a> from tigris, so it is not trivial to put into your ant file. But with this in your build, you could do a <a href="http://subclipse.tigris.org/svnant/svn.html#info" rel="nofollow noreferrer">svn info</a> and get the revision number as ant properties at your disposal.</p> <p>Another way is to use the svnlabelincrementer to assign the revision number to the label, and pass that onto the ant script using the <a href="http://cruisecontrol.sourceforge.net/main/configxml.html#buildproperties" rel="nofollow noreferrer">buildproperties</a> that are passed from cruisecontrol to the build scripts. As Jay mentioned in the comments, the label contains only the last successfull build revision, which is not what he wants. A fix has been proposed on <a href="http://agileiscool.blogspot.com/2008/02/svnlabelincrementer-in-cruisecontrol.html" rel="nofollow noreferrer">this blog</a>, but doing the work in the ant build file seems more suitable.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload