jenkins-job-builder/tests/builders/fixtures/build-name-setter002.xml
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

13 lines
411 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<builders>
<org.jenkinsci.plugins.buildnameupdater.BuildNameUpdater>
<buildName>version.txt</buildName>
<macroTemplate>#${BUILD_NUMBER}</macroTemplate>
<fromFile>false</fromFile>
<fromMacro>true</fromMacro>
<macroFirst>false</macroFirst>
</org.jenkinsci.plugins.buildnameupdater.BuildNameUpdater>
</builders>
</project>