Timeout step ignores "Grace Period" before force killing

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • workflow-basic-steps 2.8.3 and 2.13

      The timeout step does not use the defined grace period. Which is 5s in testing and 60s in production. Instead it reuses the timeout which results enormous waiting times if the job is unkillable.

      This example takes 20 minutes to complete instead of 11 minutes (10 minute timeout + 1 minute grace period):

       

       

      timeout(time: 10, unit: 'MINUTES') {
      
          unkillable()
      
      }
      

       

            Assignee:
            Michael Werner
            Reporter:
            Michael Werner
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: