[JIRA] (JENKINS-56964) Expose timeout grace period as configurable

2019-10-22 Thread franrobl...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Francisco Robles Martin commented on  JENKINS-56964  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Expose timeout grace period as configurable   
 

  
 
 
 
 

 
 Same problem here! Jonathan Gray did you find any workaround?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198654.1554922045000.13041.1571736481955%40Atlassian.JIRA.


[JIRA] (JENKINS-56964) Expose timeout grace period as configurable

2019-04-10 Thread jonathan_g...@comcast.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonathan Gray created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56964  
 
 
  Expose timeout grace period as configurable   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 workflow-basic-steps-plugin  
 
 
Created: 
 2019-04-10 18:47  
 
 
Labels: 
 plugin pipeline configuration  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Jonathan Gray  
 

  
 
 
 
 

 
 As a job author, I would like the pipeline timeout GRACE_PERIOD exposed as a configurable option so that I can allow for teardown steps that take longer than 5s or 60s.   I use the timeout option on a stage, but during the normal course of operations if that timeout engages items in an always post step only get that grace period to complete.  For processes with extensive cleanup, you see `Body did not finish within grace period; terminating with extreme prejudice` and it force-kills what's running.  This can leave some cleanup process incomplete.  I'd like to see an option in the timeout step to specify how long that grace period ought to be.    Relevant code link: https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/3ecc7bbd91182e330a23a9e661ae1cdfa2d2b55e/src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java#L41