I have a Jenkins pipeline that runs a test suite. It takes in a parameter, node-label, to determine which environment to run the Jenkins build on. At first I was only using it on one environment so I had "Do not allow concurrent builds" enabled. But now I'm expanding the pipeline to other people and environments. I want to allow Jenkins to build concurrently only if the parameter node-label isn't currently being built. How can I do this?
2.1m questions
2.1m answers
60 comments
57.0k users