Using SVN with CruiseControl?

I am trying to use CruiseControl 2.7.3 (original) to create a Java project which is in the SVN repository,

My cruise setup uses the svn plugin for a set of modifications. When a modification is detected, the assembly is scheduled using Ant. This Ant build file then uses the svnant Ant task to perform a full project validation. For some time we had this set for checking "HEAD", but we had cases when the assembly did not work for checking or two, because the check occurred after checking the set of modifications, but before Ant, call svn checkout. As a result, we try to modify the Ant build file to use the version number that the modification check receives.

The CruiseControl configuration configuration page states that the svnrevision property is set and passed to builders in the same way as the label labelincrementers property . It does not seem to install when I click the force build button .

Is there anything I need to do to make this happen?

+3
source share
3 answers

Looking at the code to control the source of SVN, it seems that svnrevision should be passed along with the creator and, thus, to your Ant call. Have you tried using the property from your Ant script?

In response to a question in a comment:

, , . svnlabelincrementer , , .

+1

cruisecontrol ant (svn), . svn , build.log - ant, cruisecontrol.

, , ant, :

, ant svn - . Svn ant contrib ant task tigris, ant . svn info ant .

- svnlabelincrementer ant script buildproperties, cruisecontrol . , , , . , ant .

0

? CruiseControl (, 30 ), .

It will not run separate assemblies for each commit. Rather, commits around the same time, will begin one assembly.

0
source

Source: https://habr.com/ru/post/1704092/


All Articles