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

            jglick Jesse Glick created issue -
            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
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 171696 ] JNJira + In-Review [ 184414 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-38514 [ JENKINS-38514 ]

              People

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

                Dates

                Created:
                Updated: