使用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 @ 2020-10-21 14:30  未来可期_Durant  阅读(19850)  评论(0编辑  收藏  举报