jenkins-job-builder/tests/builders/fixtures/build-name-setter002.yaml
Chris Denneen 915a36f449 Add Build Name Setter to Builders
The Build Name Setter allows for the name to be updated during
the build process, allowing for dynamic values to be added
to the build-name (ex. #${BUILD_NAME}-{GIT_REVISION,length=8},
this example also leverages use of the Token Macro plugin)

Story: 2000560

Change-Id: I3f75051383ca89caa1283440e3581f14cee62f44
2016-04-24 09:38:12 -04:00

5 lines
98 B
YAML

builders:
- build-name-setter:
template: '#${BUILD_NUMBER}'
macro: true