Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixed JENKINS-14070] add limit to number of schedules
(also fix tests)
- Loading branch information
Showing
8 changed files
with
58 additions
and
13 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
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
3 changes: 3 additions & 0 deletions
3
...ain/resources/com/chikli/hudson/plugin/naginator/NaginatorPublisher/help-maxSchedule.html
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,3 @@ | ||
<div> | ||
Limits the number of successive job schedules after a build failure. Set to 0 for no limit. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/chikli/hudson/plugin/naginator/NaginatorPublisher/help.html
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,3 @@ | ||
<div> | ||
This option allows to reschedule job upon failure. | ||
</div> |
9 changes: 9 additions & 0 deletions
9
src/main/resources/com/chikli/hudson/plugin/naginator/ProgressiveDelay/help.html
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 xmlns="http://www.w3.org/1999/html"> | ||
if a build fails for a reason that cannot be immediately fixed, | ||
immediate rescheduling may cause a very tight loop. | ||
combined with publishers like e-mail, IM, this could flood the users. | ||
<p> | ||
So to avoid this problem, progressively introduce delay until the next build | ||
delay = the number of consective build problems * <em>increment</em> | ||
back off at most <em>max</em> | ||
</div> |
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