Jenkins Priority Sorter Plugin - How to use the BuildPriority parameter

I am trying to dnymaically apply priorities (1 to 5) to Jenkins jobs started via a URL containing the BuildPriority parameter.

In the priority sorter configuration, I selected

-> Use additional rules when assigning priority to a task

and select "Use priority from build option" as the build strategy.

I left Build Parameter Name = "BuildPriority".

Run the task through:

http://localhost:8080/job/myJobName/buildWithParameters?PARAM1=value1&PARAM2=value2&BuildPriority=1

does not apply priority. I tried adding a Parameter line to Job called BuildPriority, which did not work. What am I doing wrong?

Thank you very much in advance,

marcus

Update:

I found that this related error is already being tracked: https://issues.jenkins-ci.org/browse/JENKINS-22294

2: , , : / Jenkins 1. , , Throttle Concurrent Builds, "" , . 1 , .

+4
1

( 3.6.0 Jenkins 2.73.3) "" , Execute concurrent builds if necessary.

: / Jenkins 1. , , , "" , . 1 , .

+2

Source: https://habr.com/ru/post/1544009/


All Articles