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

QueueDecisionHandler should be able to return CauseOfBlockage

      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.

          [JENKINS-35403] QueueDecisionHandler should be able to return CauseOfBlockage

          Jesse Glick added a comment -

          Could be used for example from NoTriggerBranchProperty.

          Jesse Glick added a comment - Could be used for example from NoTriggerBranchProperty .

          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

          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

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

              Created:
              Updated: