Created
June 30, 2019 19:50
-
-
Save Osein/fa40971cfdd5fd88ce70f024c43f88cd 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('Send to Prod') { | |
when { | |
expression { | |
return env.shouldBuild != "false" && env.BRANCH_NAME == "master" | |
} | |
} | |
steps { | |
// Deploy your application to prod servers | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment