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

Attempts to restrict Pipeline jobs from running on master result in job hanging

      Trying the job-restrictions-plugin with Workflow jobs - I added a restriction to master that only jobs matching a regex could run on there. At first glance, that looked perfect - a Workflow job that didn't match that regex stayed in queue while another Workflow job that did match ran fine.

      But then I realized that the non-matching job was still sitting in queue, even after another executor not on the master was available. The job is just stuck - it's not even getting to the node { }, etc. If it can't run on master (when master has executors), it just flops around. Ow.

          [JENKINS-31866] Attempts to restrict Pipeline jobs from running on master result in job hanging

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Link New: This issue is related to INFRA-504 [ INFRA-504 ]
          Andrew Bayer made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167332 ] New: JNJira + In-Review [ 182686 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-38644 [ JENKINS-38644 ]
          Oleg Nenashev made changes -
          Summary Original: Attempts to restrict Workflow jobs from running on master result in job hanging New: Attempts to restrict Pipeline jobs from running on master result in job hanging
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-36626 [ JENKINS-36626 ]
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-46652 [ JENKINS-46652 ]
          Artur Szostak made changes -
          Attachment New: JenkinsScreenshot.png [ 43259 ]
          Sam Gleske made changes -
          Link New: This issue is related to JENKINS-51359 [ JENKINS-51359 ]
          Oleg Nenashev made changes -
          Labels New: pipeline-compatibility

            Unassigned Unassigned
            abayer Andrew Bayer
            Votes:
            11 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: