From cae921e0fa286dbdb4713b8527e0f884fa15dc8d Mon Sep 17 00:00:00 2001 From: eccenux Date: Wed, 13 Nov 2024 00:35:11 +0100 Subject: [PATCH] Clarify instructions for "Process this rule at most (times)" #148 --- .../model/Rule/help-matchAtMost.html | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/main/resources/pl/damianszczepanik/jenkins/buildhistorymanager/model/Rule/help-matchAtMost.html b/src/main/resources/pl/damianszczepanik/jenkins/buildhistorymanager/model/Rule/help-matchAtMost.html index 05965b69..a0e740b1 100644 --- a/src/main/resources/pl/damianszczepanik/jenkins/buildhistorymanager/model/Rule/help-matchAtMost.html +++ b/src/main/resources/pl/damianszczepanik/jenkins/buildhistorymanager/model/Rule/help-matchAtMost.html @@ -2,12 +2,23 @@

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.

-

Use cases

-

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.

+

Internally and in the documentation, this value is called matchAtMost.

+ +

There are some special values:

+ +

Use cases

+

This feature provides the option to control the number of builds the rule can process. + If used with specific actions it can save a significant amount of time when the build history is long.

+ +

This feature also provides the option to skip a number of builds while processing builds. + To skip 5 builds, you should create a rule with the "Match every build" condition and no action, then set matchAtMost = 5. + This will effectively skip 5 builds in each build history manager process. It’s equivalent to saying buildToCheck = lastBuildNo - 5.

+

Warning!

If the matchAtMost 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.

\ No newline at end of file