Last active
June 30, 2019 19:49
-
-
Save Osein/7b30011f5b9558a32ce161fa618dc011 to your computer and use it in GitHub Desktop.
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
stage('Build application for prod') { | |
when { | |
expression { | |
return env.shouldBuild != "false" && env.BRANCH_NAME == "master" | |
} | |
} | |
steps { | |
// Build your application for prod servers | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment