Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62041

PrioritySorter doesn't work as expected. High Prio jobs last in queue

XMLWordPrintable

      Hi,

      I'm not sure if Piority Sorter works as it should.

      Plugin version 3.6.0, Pipeline version 2.6, Jenkins ver. 2.190.1

      Absolute strategy.

      Example: I have got 2 jobs in seperate folders, jobs use the same node to run. Job included in Folder1 is set with HIGH Priority (equal 1), job included in Folder2 is set with LOW Priority (equal 5). For testing purpose I run 10 times LOW Prio job and then 2 runs HIGH Prio Job. I expect that these 2 high prio runs will start before all other jobs in queue. But it's not happening. You can see screenshot from Build Queue plugin. All jobs are waiting for available executor. Two last rows are HIGH Prio jobs. I would expect that these two will be move on top of queue.

       

            Unassigned Unassigned
            tomkoz Tomasz Koźlak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: