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