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

Not sorting all queued items?

    XMLWordPrintable

Details

    Description

      In the AdvancedQueueSorter, queued items are gathered by Queue.getInstance().getBuildableItems() rather than Queue.getInstance().getItems(), is there any reason for this as it won't include jobs that have build parameters.

      Attachments

        Activity

          hextank Paul Tankard added a comment -

          Never mind, it turned out what I was seeing was blocked items due jobs being allocated to specific nodes, does that mean a buildable job can gain higher priority than a blocked one?

          Either way, this can be closed, sorry.

          hextank Paul Tankard added a comment - Never mind, it turned out what I was seeing was blocked items due jobs being allocated to specific nodes, does that mean a buildable job can gain higher priority than a blocked one? Either way, this can be closed, sorry.

          Priority Sorter will remember the priorities of any Blocked jobs but Blocked jobs are not in the Queue and are not eligible for being started. You can read the discussion in JENKINS-32266 for more info on why the Sorter acts the way it does.

          emsa23 Magnus Sandberg added a comment - Priority Sorter will remember the priorities of any Blocked jobs but Blocked jobs are not in the Queue and are not eligible for being started. You can read the discussion in JENKINS-32266 for more info on why the Sorter acts the way it does.

          People

            emsa23 Magnus Sandberg
            hextank Paul Tankard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: