Git Thoughtworks 中的修改检查失败错误Go.CD
Git Modification Check Failed Error in Thoughtworks Go.CD
我在 Thoughtworks Go 中为其中一个项目收到以下错误,这是什么意思,我该如何解决?
Modification check failed for material: URL:
https://username:******@bitbucket.org/company/project.git,
Branch: [Mar-03 17:08:55] Error performing command: --- Command ---
git rev-parse --abbrev-ref HEAD --- Environment --- {} --- INPUT ----
--OUTPUT --- HEAD --- ERROR --- STDERR: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. STDERR: Use
'--' to separate paths from revisions, like this: STDERR: 'git [...]
-- [...]' ---
如果您查看管道 XML,其中 material 已将分支设置为空字符串,如下所示:branch=""
。一旦我删除它,错误就消失了。
我在 Thoughtworks Go 中为其中一个项目收到以下错误,这是什么意思,我该如何解决?
Modification check failed for material: URL: https://username:******@bitbucket.org/company/project.git, Branch: [Mar-03 17:08:55] Error performing command: --- Command --- git rev-parse --abbrev-ref HEAD --- Environment --- {} --- INPUT ---- --OUTPUT --- HEAD --- ERROR --- STDERR: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. STDERR: Use '--' to separate paths from revisions, like this: STDERR: 'git [...] -- [...]' ---
如果您查看管道 XML,其中 material 已将分支设置为空字符串,如下所示:branch=""
。一旦我删除它,错误就消失了。