Created
May 11, 2017 13:25
-
-
Save jacoelho/aeceba9b8c2d92efaa37dc4afd517728 to your computer and use it in GitHub Desktop.
jenkinsfile skip ci
This file contains 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
Boolean shouldSkipBuild() { | |
output = sh(script: "git log -1 --pretty=%B", returnStdout: true) | |
output ==~ /(?m).*skipci.*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment