Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
[JENKINS-39231] - Integrate the Runaway Process Killer extension to t…
Browse files Browse the repository at this point in the history
…erminate runaway processes
  • Loading branch information
oleg-nenashev committed Feb 16, 2017
1 parent bce0071 commit 8dcf02d
Showing 1 changed file with 16 additions and 0 deletions.
Expand Up @@ -51,5 +51,21 @@ THE SOFTWARE.

<onfailure action="restart" />

<!--
In the case WinSW gets terminated and leaks the process, we want to abort
these runaway JAR processes on startup to prevent "Slave is already connected errors" (JENKINS-28492).
-->
<extensions>
<!-- This is a sample configuration for the RunawayProcessKiller extension. -->
<extension enabled="true"
className="winsw.Plugins.RunawayProcessKiller.RunawayProcessKillerExtension"
id="killOnStartup">
<pidfile>%BASE%\jenkins_agent.pid</pidfile>
<stopTimeout>5000</stopTimeout>
<stopParentFirst>false</stopParentFirst>
</extension>
</extensions>

<!-- See referenced examples for more options -->

</service>

0 comments on commit 8dcf02d

Please sign in to comment.