Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42364

Editor adaptations for stage based parallel declarative

      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

          [JENKINS-42364] Editor adaptations for stage based parallel declarative

          Michael Neale added a comment -

          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)

          Michael Neale added a comment - 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)

          Michael Neale added a comment - - edited

          jamesdumay I think that this one is blocked by the design for setting config on parallel. We could in theory adapt this to work with the new RFE for parallel with no functional change, but that may miss the point (which is that you can have agent config per parallel stage etc). 

          https://issues.jenkins-ci.org/browse/JENKINS-41541 is blocking this in that case

          Michael Neale added a comment - - edited jamesdumay I think that this one is blocked by the design for setting config on parallel. We could in theory adapt this to work with the new RFE for parallel with no functional change, but that may miss the point (which is that you can have agent config per parallel stage etc).  https://issues.jenkins-ci.org/browse/JENKINS-41541  is blocking this in that case

          Keith Zantow added a comment -

          michaelneale I think this has been superseded by it's parts, please reopen if I am missing something.

          Keith Zantow added a comment - michaelneale I think this has been superseded by it's parts, please reopen if I am missing something.

            kzantow Keith Zantow
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: