915a36f449
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
13 lines
411 B
XML
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>
|