-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
Try following Jenkinsfile, it will always run on master, even you configured job restriction
#!/usr/bin/env groovy timeout(time: 5, unit: 'MINUTES') { timestamps { properties([buildDiscarder(logRotator(daysToKeepStr: '7', artifactDaysToKeepStr: '0'))]) stage('printing') { for ( i=1; i<10; i++ ) { println "Round ${i} checking" sleep 1 } } } }
- relates to
-
JENKINS-46652 Authorize Project blocks Pipeline Jobs when Computer/Build for master is lacking
-
- Resolved
-
[JENKINS-55327] Job restrictions can be skipped if no node block in Jenkinsfile
Link |
New:
This issue relates to |
Component/s | New: core [ 15593 ] |
Labels | New: regression |
Labels | Original: regression |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
It is a deliberate improvement/regression due to the changes in 2.111 -
JENKINS-46652. I cannot fix it on the plugin side. CC jglick danielbeck