Created
June 7, 2018 14:20
-
-
Save kagarlickij/804e77fee4862e33c48bc9421455f64c to your computer and use it in GitHub Desktop.
Jenkins scripted pipeline parallel execution
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
node { | |
stage ('clean') { | |
cleanWs() | |
} | |
stage ('checkout') { | |
git credentialsId: 'bla-bla-bla', | |
url: '[email protected]:kagarlickij/myapp-pipeline.git' | |
} | |
parallel admin: { | |
stage ('myapp-admin-pipeline') { | |
build 'myapp-admin-pipeline' | |
} | |
}, | |
front: { | |
stage ('myapp-front-pipeline') { | |
build 'myapp-front-pipeline' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment