Globally expand the shortcut of the latest build on several CruiseControl.NET projects

We use CruiseControl.NET to automate our collections and track the latest build number. However, this number is reset to one for newly created CC.NET projects. We would like the Last Build Number sequence to continue for forked projects (such as patches to existing releases).

Is there a way to globally increase the shortcut of the latest build in several CruiseControl.NET projects?

+4
source share
1 answer

The line number Th is stored in the project status file. If you enter a branch, take the build number from the source project status file and place it in one of the branch projects (or copy the status file and make the necessary changes, such as the file name, project name, etc.). Since the state files are XML, this should be simple enough to work programmatically if your transition process is script.

+1
source

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


All Articles