• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • pipeline

      For some purposes it is useful to pause a running flow so you can investigate an ongoing problem and maybe try to fix it before resuming, rather than having to retry the whole flow (or from a checkpoint).

      The minimal feature would be for the CPS VM to be paused between steps. This is probably an easy enhancement, with an API needed just to expose this action in the UI somewhere.

      Better would be if a StepExecution (an active head) could be paused. That would be another API change. The most interesting case is DurableTaskStep.Execution; for that to work we would need to also add an API to Controller in durable-task asking it to pause the process if possible. On Unix this would be SIGSTOP (later SIGCONT); not sure if there is any Windows equivalent.

          [JENKINS-25736] Ability to pause a running flow

          Jesse Glick created issue -
          Jesse Glick made changes -
          Labels New: api
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Kohsuke Kawaguchi [ kohsuke ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 195 (Web Link)" [ 13133 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "workflow-cps PR 32 (Web Link)" [ 14607 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-32015 [ JENKINS-32015 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 159713 ] New: JNJira + In-Review [ 196178 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

            kohsuke Kohsuke Kawaguchi
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: