Jenkins Multibranch项目致命:模棱两可的“上游/母版":未知版本或不在工作树中的路径.为公关建立 [英] Jenkins Multibranch project trowes fatal: ambiguous argument 'upstream/master': unknown revision or path not in the working tree. for the PR build
本文介绍了Jenkins Multibranch项目致命:模棱两可的“上游/母版":未知版本或不在工作树中的路径.为公关建立的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在与
I am working on a project same as this question. Even though I used the same solution still i'am getting below error. Is anything updated in git recently? or anyone have solution to fix it?
16:48:06 + git rev-parse upstream/master
16:48:06 fatal: ambiguous argument 'upstream/master': unknown revision or path not in the working tree.
16:48:06 Use '--' to separate paths from revisions, like this:
16:48:06 'git <command> [<revision>...] -- [<file>...]'
16:48:06 upstream/master
解决方案
I found the solution finally. adding ref specs to project fixed the issue.
这篇关于Jenkins Multibranch项目致命:模棱两可的“上游/母版":未知版本或不在工作树中的路径.为公关建立的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文