Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 681 Bytes

setBuildName.md

File metadata and controls

21 lines (12 loc) · 681 Bytes

setBuildName

This step will create a versionNumberString and set it as display name for the build.

At the moment there are no configuration options for this step

💡 If you want to make the branch name appear in your build call the gitTools.getBranch() step before calling this step

❗ This step requires the Jenkins Version Number Plugin.

GIT_BRANCH environment variable available

When the GIT_BRANCH environment variable is present this will be used format:

#${BUILD_NUMBER}_${GIT_BRANCH}

GIT_BRANCH environment variable not available

#${BUILD_NUMBER}