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

Event when timeout is reach should be customizable

    Details

    • Similar Issues:

      Description

      I would like to edit the event executed when timeout is reach.

      In some scenario, the event "Send interrupt signal to process" won't kill the running process. If I could catch some event, I could force the process to stop and for instance rollback environment.

      timeout(5, unit:'MINUTES') {
                  // 10 minutes process
      } catch {
                  // specific timeout signal
      }
      

        Attachments

          Issue Links

            Activity

            gtheraud Guillaume Théraud created issue -
            gtheraud Guillaume Théraud made changes -
            Field Original Value New Value
            Summary Timeout event should be customizable Event when timeout is reach should be customizable
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 167812 ] JNJira + In-Review [ 182853 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Component/s workflow-basic-steps-plugin [ 21712 ]
            Component/s pipeline [ 21692 ]
            jglick Jesse Glick made changes -
            Component/s durable-task-plugin [ 18622 ]
            jglick Jesse Glick made changes -
            Component/s workflow-durable-task-step-plugin [ 21715 ]
            Component/s durable-task-plugin [ 18622 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-32986 [ JENKINS-32986 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-35677 [ JENKINS-35677 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-38769 [ JENKINS-38769 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-39072 [ JENKINS-39072 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-25623 [ JENKINS-25623 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                gtheraud Guillaume Théraud
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: