I am looking at limiting the number of concurrent builds to a specific number in Jenkins, leveraging the multibranch pipeline workflow but haven\'t found any good way to do
As @VadminKotov indicated it is possible to disable concurrentbuilds using jenkins declarative pipelines as well:
pipeline { agent any options { disableConcurrentBuilds() } stages { stage('Build') { steps { echo 'Hello Jenkins Declarative Pipeline' } } } }