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

Build-Blocker-Plugin - Does not block Pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • build-blocker-plugin
    • None
    • Jenkins 2.89.3
      Build-Blocker-Plugin 1.7.3
      Pipeline 2.5

      all my Pipeline projects are named like

      <Project_Name>_PIPELINE

      I have only one node with several executors, but I do not want two Pipelines running at the same time, so I use Build-Blocker-Plugin, with

      .*_PIPELINE

      as regular expression.

      Problem : If I launch PROJECT_A_PIPELINE and just after PROJECT_B_PIPELINE, they both run on two executors, at the same time. I am expected PROJECT_B_PIPELINE to wait for PROJECT_A_PIPELINE to be over.

      I think this may be similar to JENKINS-50187 but not sure as there is a node label based behavior, so it could be more specific

      (note : I do need several executor as the node also runs regular Freestyle Project)

            dmone Denis Mone
            daemonpulsar Philippe Carrere
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: