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 created issue -
          Michael Neale made changes -
          Epic Link New: JENKINS-36291 [ 172300 ]
          Michael Neale made changes -
          Link New: This issue blocks JENKINS-41334 [ JENKINS-41334 ]
          Michael Neale made changes -
          Summary Original: Editor adaptations for stage base parallel declarative New: 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 made changes -
          Description Original: 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/98

          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
          New: 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

          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
          Michael Neale made changes -
          Link New: This issue blocks JENKINS-41541 [ JENKINS-41541 ]
          Michael Neale made changes -
          Link Original: This issue blocks JENKINS-41541 [ JENKINS-41541 ]
          Michael Neale made changes -
          Link New: This issue is blocked by JENKINS-41541 [ JENKINS-41541 ]

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

              Created:
              Updated:
              Resolved: