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

onLeft() not triggering after restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • prioritysorter-plugin
    • Jenkins 2.46.3
      PrioritySorter-plugin 2.5.1

      While with JENKINS-44014 no exception is thrown anymore, nothing is being done with the started job as well, only a warning is printed. However, after restart of Jenkins, the ItemCache is always empty, so any job that was in the queue at the time of the restart will trigger this.

      So instead, if itemInfo cannot be found, a new ItemInfo from the LeftItem should be created, priority applied, and added with onNewItem(); then it should proceed with that.

      Am I right?

            Unassigned Unassigned
            rk R K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: