Skip to content

Instantly share code, notes, and snippets.

@kagarlickij
Created June 7, 2018 14:20
Show Gist options
  • Save kagarlickij/804e77fee4862e33c48bc9421455f64c to your computer and use it in GitHub Desktop.
Save kagarlickij/804e77fee4862e33c48bc9421455f64c to your computer and use it in GitHub Desktop.
Jenkins scripted pipeline parallel execution
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