Created
April 4, 2020 00:01
-
-
Save conclusionlogic/5af484d461b5a6a6adc8a79be2e256d3 to your computer and use it in GitHub Desktop.
[jenkins_snippets] archive of snippets for Jenkins #groovy #jenkins #pipelinejob
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
script { | |
currentBuild.displayName = "#${env.BUILD_NUMBER} ${params.dockerTag}" | |
currentBuild.rawBuild.project.description = "${params.gitRef.replaceAll('.*/', '')}: ${params.dockerTag}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment