Priority for pipeline jobs

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: prioritysorter-plugin
    • Environment:
      Jenkins 2.46.3
      PrioritySorter-plugin 2.5.1

      While it is nice that with PrioritySorter 2.5.1 and JENKINS-44014 fixed there are no issues anymore with exceptions, it still does not sort PlaceholderTasks in all cases. The getPriority() in PriorityConfigurationPlaceholderTaskHelper only logs a warning and uses a default configuration. However, any PlaceholderTask belongs to a Run, which belongs to a  Job. So in case ownerTask is null, task.run().getParent() or task.runForDisplay().getParent() could be used instead.

      Related: JENKINS-45028.

            Assignee:
            Unassigned
            Reporter:
            R K
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: