[英]Couldn't find any revision to build. Verify the repository and branch configuration for this job. Why am I seeing this failure?
For no reason at all, an error suddenly started to fly out, although before that, the job was launched without problems.无缘无故,一个错误突然开始飞出,尽管在此之前,该作业没有问题地启动。 What could be the error?
可能是什么错误? I saw articles including here, but I did not understand what the problem was.
我看到了包括这里的文章,但我不明白问题是什么。 Please help
请帮忙
In the new versions of the git, the main branch is not the master, but main, and this should be changed on Jenkins.在新版本的 git 中,主分支不是 master,而是 main,这应该在 Jenkins 上更改。 This solved my problem.
这解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.