Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RESOLVED JENKINS-4797] Added a timeout for the tool process. The tim…
…eout is default set to 10 minutes, but can be changed.
- Loading branch information
Showing
4 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
src/main/resources/hudson/plugins/lockedfilesreport/LockedFilesReporter/global.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<f:section title="Locked files report" help="/plugin/googleanalytics/profileid.html"> | ||
<f:entry title="Handle executable" field="handleExecutable"> | ||
<f:section title="Locked files report"> | ||
<f:entry title="Handle executable" field="handleExecutable" help="/plugin/locked-files-report/help-handleExecutable.html"> | ||
<f:textbox default="handle.exe"/> | ||
</f:entry> | ||
<f:advanced> | ||
<f:entry title="Default tool timeout in minutes" field="defaultToolTimeout" help="/plugin/locked-files-report/help-defaultToolTimeout.html"> | ||
<f:textbox default="10"/> | ||
</f:entry> | ||
</f:advanced> | ||
</f:section> | ||
</j:jelly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div> | ||
<p> | ||
There has been reports with the Windows handle tool that it does not timeout due to an unknown issue. To make sure that the | ||
build continues even if the tool locks up it is possible to set a timeout. The timeout is specified in minutes and should be | ||
long enough to let the tool finish normally. Default value is 10 minutes, and 0 minutes means that the tool will not timeout and may | ||
hang the build. This was introduced to fix the <a href="https://issues.jenkins-ci.org/browse/JENKINS-4797">JENKINS-4797</a> issue | ||
and has only occurred on Windows. | ||
</p> | ||
</div> |