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

Event when timeout is reach should be customizable

      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
      }
      

          [JENKINS-32228] Event when timeout is reach should be customizable

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

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

              Created:
              Updated:
              Resolved: