Help documentation

Pipeline labelling

Cruise maintains an internal counter to identify a pipeline. This number increases by 1 for each build. By default, Cruise will use this counter as the pipeline label. This label is also passed to your build as an environment variable: CRUISE_PIPELINE_LABEL . The pipeline counter increases even if a build fails.

Customising the pipeline label

You can create a custom label by setting the labeltemplate attribute on your pipeline. This will change the value that Cruise shows on its webpages, and will also affect any RESTful URLs. It will also change the value of the CRUISE_PIPELINE_LABEL property that is passed to your build.

<pipeline name="cruise" labeltemplate="1.2.${COUNT}">  
  ...
</pipeline>