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

Editor adaptations for stage based parallel declarative

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale 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)

            Show
            michaelneale 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)
            Hide
            michaelneale Michael Neale added a comment - - edited

            James Dumay 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

            Show
            michaelneale Michael Neale added a comment - - edited James Dumay 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
            Hide
            kzantow Keith Zantow added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: