使用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

解决办法:

posted @   未来可期_Durant  阅读(20671)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示