Per https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration#migrating-to-170, and warnings in the console on seed jobs, concurrentBuild() is deprecated for pipeline jobs. Is this is error? concurrent builds can certainly be enabled/disabled on pipeline jobs.
When looking into the config.xml, it seems that it's still `<concurrentBuild>false</concurrentBuild>` - so what should the replacement be for the supposedly-deprecated `concurrentBuild(false)` in pipeline jobs?
Workaround:
pipelineJob('jobname') { configure { (it / 'concurrentBuild').setValue('false') }
I believe this is the new correct way to do it:
pipelineJob("name") { properties { disableConcurrentBuilds() } ...
Thanks, that seems to work, Grigor Lechev.