Jenkins · Parallel stages, post actions and libraries

Run stages in parallel

Run independent stages at the same time.

stage('Checks') {
  parallel {
    stage('Unit tests') { steps { sh 'make test' } }
    stage('Lint') { steps { sh 'make lint' } }
  }
}

Official Jenkins documentation

More parallel stages, post actions and libraries commands

All parallel stages, post actions and libraries commands · Jenkins cheatsheet

Was this page helpful?