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

Not sorting all queued items?

    XMLWordPrintable

    Details

    • Similar Issues:

      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

          Hide
          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.

          Show
          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.
          Hide
          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.

          Show
          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

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

              Dates

              Created:
              Updated:
              Resolved: