使用jenkins构建报错:ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.


背景:

在调试项目的接口自动化工程的时候,遇到一个问题,如下
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

原因分析:

  是jenkins找不到分支来拉指定的git代码,是因为github上master节点名称变更为main

解决办法:


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM