-
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