Jenkins · Parallel stages, post actions and libraries
Run a matrix of combinations
Run the same stages for each combination of axes.
matrix {
axes {
axis { name 'NODE'; values '22', '24' }
}
stages {
stage('Test') { steps { sh "echo testing on node ${NODE}" } }
}
}
Official Jenkins documentation
More parallel stages, post actions and libraries commands
All parallel stages, post actions and libraries commands · Jenkins cheatsheet