Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
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)
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.