-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major
-
Component/s: pipeline
-
None
As a developer, I want to run multiple sequences of stages in parallel so that I can split up my parallel stages.
Currently, The Jenkinsfile syntax only allows to run single stages in parallel. I would like to do something like this:
parallel {
stages {
stage('Build on Linux') {
steps {
echo 'Building on Linux'
}
}
stage('Test on Linux') {
steps {
echo 'Testing on Linux'
}
}
}
stages {
stage('Build on macOS') {
steps {
echo 'Building on macOS'
}
}
stage('Test on Linux') {
steps {
echo 'Testing on macOS'
}
}
}
}
However, parallel only support 'stage' as a sub-element, not stages.
- duplicates
-
JENKINS-46809 Allow sequential stages inside parallel in Declarative syntax
-
- Closed
-