jenkinsci / build-timeout-plugin

Jenkins build-timeout plugin
https://plugins.jenkins.io/build-timeout/
31 stars 80 forks source link

Ability to run a script before interrupting the executor #5

Closed paul-hammant closed 11 years ago

paul-hammant commented 13 years ago

In my particular case I want to pull some stats out of a running Tomcat via servlet and WGET before killing the tomcat. I have JBehave/WebDriver jobs leveraging Sauce Labs in fairly large scale, and one or more could be stuck. There are many reasons for that, but part of my build after all is successful, would retrieve the stats, and store them in the build artifacts in a JSON file. However, the build-timeout-plugin is doing a kill -9 style of shutdown on all the processes spawned by Jenkins for the job, and I'm not getting my chance to do the stats step before a more controlled shutdown of the stack.

kutzi commented 11 years ago

Please use https://issues.jenkins-ci.org/