-
Task
-
Resolution: Duplicate
-
Major
-
None
There is a proposal to clarify how to use parallel with declarative, using stages. This has the benefit of allowing config items that naturally live at stage level to be in parallel branches.
A sample here: https://gist.github.com/abayer/bbe18e779696af88af9208f7502b898c
The declarative ticket for this feature: https://issues.jenkins-ci.org/browse/JENKINS-41334
PR https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/152/
In scope:
- Plan what adaptations are required for the new model
- Plan what impl/design is required for editing stage options at the parallel branch level
- blocks
-
JENKINS-41334 Support parallel execution of stages in Declarative
-
- Closed
-
-
JENKINS-41960 Developer can change stage and parallel level configuration
-
- Resolved
-
- is blocked by
-
JENKINS-41541 Support Agent and environment config at a stage level (currently is only global)
-
- Resolved
-
This could be done as a first pass and have no config, just be an adaptation to the new "model" - and in the second, support branch level config just like at stage level (which I think is not currently supported anyway in the editor)