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

Priority for pipeline jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            annetheagile AnneTheAgile added a comment -

            These appear related;

            JENKINS-45030 Priority for pipeline jobs , Created: 2017-06-21 08:56

            and

            JENKINS-53492 Set priorities for Multibranch Pipelines, Created: 2018-09-10 05:51

            Show
            annetheagile AnneTheAgile added a comment - These appear related; JENKINS-45030 Priority for pipeline jobs , Created: 2017-06-21 08:56 and JENKINS-53492 Set priorities for Multibranch Pipelines, Created: 2018-09-10 05:51

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rk R K
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: