Details
-
New Feature
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
-
Pipeline - April 2018
Description
Currently with --, we set one or more stages to be executed in parallel but no "branches". Meaning that we cannot parallelise a sequence of stages.JENKINS-41334
Example:
pipeline { agent none stages { stage('Parallel stuff') { parallel 'branch 1' : { // Sequencial stages stage('Branch 1 stage 1'){ agent any steps { echo "In branch 1 stage 1" } } stage('Branch 1 stage 2'){ agent none // With that kind of sequencial stage, we can change the agent to run on steps { sleep 30 } } }, 'branch 2': { // Parallel execution stage('Branch 2 stage 1'){ agent any steps { echo "In branch 2 stage 1" sleep 60 } } } } } }
Blue ocean possible view:
Attachments
Issue Links
- is duplicated by
-
JENKINS-43336 Allow locking multiple stages in declarative pipeline
-
- Closed
-
-
JENKINS-47163 Use same workspace or node in multiple stages in pipeline
-
- Closed
-
-
JENKINS-48422 Support parallel execution of sequence of stages
-
- Resolved
-
-
JENKINS-47532 Add possibility to run several stages 1-by-1 in a 'parallel' thread
-
- Resolved
-
-
JENKINS-39119 Can't lock nodes between stages
-
- Closed
-
- is related to
-
JENKINS-52084 Sequential stages post section does not execute in the expected context
-
- Closed
-
- relates to
-
JENKINS-39932 Support more arbitrary Pipeline definitions
-
- Closed
-
-
JENKINS-40986 Matrix structure for Declarative Pipeline
-
- Resolved
-
-
JENKINS-52025 I can edit my sequential declarative pipeline stages in the pipeline visualization plugin
-
- Open
-
-
JENKINS-49050 I can view my sequential declarative pipeline stages in the pipeline visualization plugin
-
- Closed
-
-
JENKINS-39119 Can't lock nodes between stages
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Issue Type | Bug [ 1 ] | New Feature [ 2 ] |
Link |
This issue relates to |
Link |
This issue is duplicated by |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "PR #227 (Web Link)" [ 18167 ] |
Sprint | Pipeline - December [ 446 ] |
Link |
This issue relates to |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Link |
This issue relates to |
Link |
This issue is duplicated by |
Sprint | Pipeline - December [ 446 ] | Pipeline - March 2018 [ 506 ] |
Summary | Allow sequencial stages inside parallel in Declarative syntax | Allow sequential stages inside parallel in Declarative syntax |
Remote Link | This issue links to "CloudBees Internal UX-727 (Web Link)" [ 20815 ] |
Remote Link | This issue links to "CloudBees Internal UX-724 (Web Link)" [ 20816 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Attachment | image-2018-06-15-18-09-57-864.png [ 42889 ] |
Link | This issue relates to JENKINS-52025 [ JENKINS-52025 ] |
Link |
This issue is related to |
Status | Resolved [ 5 ] | Closed [ 6 ] |