-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
33 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
34 changes: 16 additions & 18 deletions
34
...s/pl/damianszczepanik/jenkins/buildhistorymanager/model/Rule/help-continueAfterMatch.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 |
---|---|---|
@@ -1,22 +1,20 @@ | ||
<p><b>Description</b></p> | ||
<p> | ||
By default, after the conditions of a rule are met and the action are apllied, | ||
the plugin moves on to the next completed build in the build history and | ||
starts to process all the rules again from the start of the list of rules. | ||
</p> | ||
<p> | ||
When this flag is set to <code>false</code> (default) AND this rule's conditions are met, | ||
this rule is the last rule applied to the build. The plugin moves on to the next completed build | ||
and starts processing the rules from the start of the list of rules. | ||
</p> | ||
<p> | ||
When this flag is set to <code>true</code> AND this rule's conditions are met, | ||
the plugin moves on to the next rule with the same build. This way multiple consecutive rules | ||
can be applied to the same build. | ||
</p> | ||
<ul> | ||
<li> | ||
When this flag is set to <code>false</code>, | ||
AND the conditions of this rule are met, | ||
this rule will be the final rule applied to the build, | ||
the plugin stops applying rules to this build, | ||
and goes to the next iteration of the "for each completed build" loop.</li> | ||
<li> | ||
When this flag is set to <code>true</code> (which is the default), | ||
AND the conditions of this rule are met, | ||
the next rule is applied to the same build, | ||
and goes to the next iteration of the "for each rule" loop. | ||
</li> | ||
</ul> | ||
|
||
<p><b>Use cases</b></p> | ||
<p> | ||
This is the way to apply more than one rule to the same build, providing the conditions of all those rules are met. | ||
</p> | ||
|
||
This feature allows for the application of multiple consecutive rules to the same build, as long as the conditions for each of those rules are met. | ||
</p> |
18 changes: 7 additions & 11 deletions
18
...esources/pl/damianszczepanik/jenkins/buildhistorymanager/model/Rule/help-matchAtMost.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 |
---|---|---|
@@ -1,17 +1,13 @@ | ||
<p><b>Description</b></p> | ||
<p>Number of matched builds after which the rule is not processed. Then this condition is met, only other rules are | ||
processed.</p> | ||
<p>The rule will stop being processed after a certain number of matched builds. | ||
Once this condition is met, only the other rules will continue to be processed.</p> | ||
|
||
<p><b>Use cases</b></p> | ||
<p>Gives possibility to limit number of changes performed by given rule | ||
(what of course saves the time for long build history!).</p> | ||
<p>This feature provides the option to control the number of builds the rule can process. It may save a significant amount of time when the build history is long.</p> | ||
<ul> | ||
<li><code>-1</code> There is no limitation, all builds will evaluated</li> | ||
<li><code>0</code> Zero builds will be evaluated. This is helpful when it is easier to match builds that should not | ||
be deleted and to skip them from evaluation. | ||
</li> | ||
<li><code>1..n</code> When conditions match <code>n</code> times, no more builds will be processed by this rule | ||
</li> | ||
<li>If the value is set to <code>-1</code>, there is no limitation, all builds will be evaluated.</li> | ||
<li>If the value is set to <code>0</code>, no builds will be evaluated. This disables the rule as it will not apply to any build.</li> | ||
<li>If the value is set to <code>1..n</code>, once the value is reached, the rule is effectively disabled and is no longer applied.</li> | ||
</ul> | ||
<p><b>Warning!</b></p> | ||
<p>Zero value can be used to temporary disable to rule without deleting whole job configuration.</p> | ||
<p>If the <code>matchAtMost</code> value is set to zero, the rule is effectively disabled. This is useful if the user wants to disable a rule while keeping its other configuration values.</p> |