jenkins构建报错ERROR: Couldn't find any revision to build. Verify the repository and branch

今天用jenkins构建时报错,详细如下:

ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE

后来才知道是jenkins任务配置错了,详细看下面图,把master修改为main就不会报错了

 

posted @ 2022-02-26 15:34  lucky_tomato  阅读(2195)  评论(2编辑  收藏  举报