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

Allow a build-flow to survive jenkins restart

    Details

    • Similar Issues:

      Description

      a flow can be a long running process. It should be possible to cleanly stop jenkins, then flow resumes after restart.

      Would be cool as well to support restarting flow from a failed job, without running a full fresh new flow.

      Last but not least, some flow step may be purely asynchronous (waiting for human approval for sample)

        Attachments

          Activity

          Hide
          ndeloof Nicolas De Loof added a comment -

          build flow plugin could use the JobInvocation graph as state for flow execution. DSL keyword then have to check the related action has already be executed and just be no-op, so that the DSL can be ran many times and "just" run some more steps. flow engine could then be rewritten as a RunListener, waiting for triggered job to complete, then re-run the DSL up to last completed action and execute the next one.

          Show
          ndeloof Nicolas De Loof added a comment - build flow plugin could use the JobInvocation graph as state for flow execution. DSL keyword then have to check the related action has already be executed and just be no-op, so that the DSL can be ran many times and "just" run some more steps. flow engine could then be rewritten as a RunListener, waiting for triggered job to complete, then re-run the DSL up to last completed action and execute the next one.
          Hide
          jglick Jesse Glick added a comment -

          I presume that with the introduction of Workflow this plan has been abandoned.

          Show
          jglick Jesse Glick added a comment - I presume that with the introduction of Workflow this plan has been abandoned.

            People

            • Assignee:
              Unassigned
              Reporter:
              ndeloof Nicolas De Loof
            • Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: