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

Restarting Parallel Stages

    XMLWordPrintable

Details

    • Declarative backlog

    Description

      This issue is based on JENKINS-45455 which solves the issue of restarting a Jenkins Pipeline from Top-Level stages.

      Description
      When building on multiple platforms, the builds are usually ran in parallel. We should be able to replay the build of a single platform. (e.g. if the Win64 build fails, we do not want to retrigger the already successful Macos and Linux builds)
      In a multiplatform build pipeline, the steps taking the most time are the "build" steps themselves and they are running in parallel to get fast build times. Restarting from a top level in that context boils down to re-running the whole job.

      Use cases

      • Restarting a Jenkins Pipeline from a sub-stage or parallel stage
      • Given the following graph, we should be able to replay from any stage (e.g. Build-Win64, Test-MacOs, Deploy) :
        Build-Win64 -> Test-Win64 -| 
        Build-Win32 -> Test-Win32 -|-> Deploy
        Build-MacOS -> Test-MacOS -|
        Build-Linux -> Test-Linux -|

         

      Attachments

        Issue Links

          Activity

            franknarf8_ni Frank Genois created issue -
            franknarf8_ni Frank Genois made changes -
            Field Original Value New Value
            Epic Link JENKINS-48356 [ 186951 ]
            franknarf8_ni Frank Genois made changes -
            Summary Restarting Parallel Stagesw Restarting Parallel Stages
            franknarf8_ni Frank Genois made changes -
            Link This issue is related to JENKINS-45455 [ JENKINS-45455 ]
            abayer Andrew Bayer made changes -
            Labels stage-restart-improvements
            abayer Andrew Bayer made changes -
            Sprint Declarative backlog [ 621 ]
            jtaboada Jose Blas Camacho Taboada made changes -
            Assignee Andrew Bayer [ abayer ] Jose Blas Camacho Taboada [ jtaboada ]
            jtaboada Jose Blas Camacho Taboada made changes -
            Assignee Jose Blas Camacho Taboada [ jtaboada ] Andrew Bayer [ abayer ]
            abayer Andrew Bayer made changes -
            Assignee Andrew Bayer [ abayer ]

            People

              Unassigned Unassigned
              franknarf8_ni Frank Genois
              Votes:
              52 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated: