job('Startup') {
triggers {
hudsonStartupTrigger {
// By default, the build is triggered when Jenkins instance starts.
label('')
// Give the quiet period before scheduling the job.
quietPeriod('0')
runOnChoice('ON_CONNECT')
// Pass node name as job parameter.
nodeParameterName('')
}
}
steps {
systemGroovyScriptFile('/jobs/startup_script.groovy')
}
}
my master has 1 executor.
the job triggers but remains on hold showing: (pending—‘Jenkins’ is reserved for jobs with matching label expression)
I just installed job-dsl 1.76 on my box and am unable to reproduce this issue. Is this still a problem or has it resolved itself? If it's still a problem it may be a compatibility issue with jenknis-slim which I'm unfamiliar with.