This documentation relates to QuickBuild 9.0.x
Select here if you are using a different version

Build Against Specified Tag

Situation

Sometimes it is desirable to run build against an existing SCM tag.

Demonstration

Visit the demo project, and hit the run button. Please wait patiently and then QuickBuild will present a list of available tags in Subversion for user to select from. Select an arbitrary tag, click OK to run the build, and the build will be generated against specified tag.

Resolution

  1. Switch to repository setting of the demo project. The demo Subversion repository is defined with checkout url specified as https://svn.pmease.com/demos/commons-collections/tags/${vars.getValue("tag")}. The tag variable will be defined later to use the selected tag name.
  2. Switch to variable setting of the demo project. The variable tag is set to prompt as a selection box with choices defined as execution result of a groovy script executing the "svn list" command.
  3. Switch to step setting of the demo project. Necessary steps are defined here to checkout from the Subversion repository, run Ant build script, and then publish generated artifacts.

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.