[英]Jenkins Scan Multibranch Pipeline stopped detecting develop branch
I am using an organization folder in Jenkins to discover all repositories that contain a Jenkinsfile. 我在Jenkins中使用组织文件夹来发现包含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.
该分支确实存在并且包含有效的Jenkinsfile。
When I rescan the project the log shows how it examines the branch but says nothing about finding or not finding the Jenkinsfile: 当我重新扫描项目时,日志显示了它如何检查分支,但是对查找或不查找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... 我尝试了通常的解决方案:删除分支,创建没有任何问题的新检测分支,重新创建develop分支...
Obvious check, but still, worth a check : 显而易见的检查,但仍然值得检查:
Hope this helps Regards 希望这对您有帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.