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

QueueDecisionHandler should be able to return CauseOfBlockage

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      QueueDecisionHandler should be allowed to return a CauseOfBlockage that would be stored in ScheduleResult.Refused and thus accessible to callers like MultiBranchProject.scheduleBuild which have a TaskListener handy.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Could be used for example from NoTriggerBranchProperty.

            Show
            jglick Jesse Glick added a comment - Could be used for example from NoTriggerBranchProperty .
            Hide
            stephenconnolly Stephen Connolly added a comment -

            To do this correctly you would probably need to run each item through all the QueueDecisionHandler instances to get the full causes of the blockage as otherwise you may get a premature cause from the first handler

            Show
            stephenconnolly Stephen Connolly added a comment - To do this correctly you would probably need to run each item through all the QueueDecisionHandler instances to get the full causes of the blockage as otherwise you may get a premature cause from the first handler

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: