美文网首页
jenkins触发webhook自动拉取出错

jenkins触发webhook自动拉取出错

作者: 阿当运维 | 来源:发表于2021-03-18 13:46 被阅读0次

git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
git rev-parse origin/master^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE

查找分支时找不到对应分支,配置的
是master分支,而我版本库的是main分支,将原来的master改成自己要拉的版本库对应的分支名即可。


image.png
image.png

相关文章

网友评论

      本文标题:jenkins触发webhook自动拉取出错

      本文链接:https://www.haomeiwen.com/subject/vnwucltx.html