-
Bug
-
Resolution: Unresolved
-
Major
-
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)
- duplicates
-
JENKINS-50187 build-blocker-plugin does not block on node level for pipeline projects
-
- Resolved
-
Having this same issue. I'm in the process of converting all my freestyle jobs to pipelines and this is a blocking issue for me to complete that work. I need to block jobs with similar regular expression job name matches from building on the same node. Not sure why this fails, doesn't it block based on the job name running on that node, should have nothing to do with the pipeline code running.
Any update on when this will be resolved?