I am using an organization folder in Jenkins to discover all repositories that contain a Jenkinsfile.
It had been working fine until recently. At some point, the develop branch of one of the repositories was removed. That branch does exist and contains a valid Jenkinsfile.
When I rescan the project the log shows how it examines the branch but says nothing about finding or not finding the Jenkinsfile:
Looking up myorg/myrepo for branches
Checking branch develop from myorg/myrepo
Checking branch master from myorg/myrepo
‘Jenkinsfile’ found
Met criteria
...
What could be the problem here? Any advice about how to troubleshoot this?
I've tried the usual solutions: delete the branch, create new ones that are detected without any problem, recreate the develop branch...
Obvious check, but still, worth a check :
Hope this helps Regards
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.