我們一直在使用jenkins構建一個項目超過兩年。我們最近更新了jenkins和插件(我們需要maven-3特性),現在無法做一個簡單的git獲取。這裏是錯誤信息:Jenkins git fetch以未知選項失敗--progress
FATAL: Failed to fetch from https://github.com/powertac/sample-broker.git hudson.plugins.git.GitException: Failed to fetch from https://github.com/powertac/sample-broker.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:625) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:847) ... Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress https://github.com/powertac/sample-broker.git +refs/heads/*:refs/remotes/origin/*" returned status code 129: stdout: stderr: error: unknown option `progress' usage: git fetch [options] [ ..]
正如你所看到的,jenkins發出的命令行包含一個未知的選項--progress。我已經通過配置文件進行搜索,找不到來自哪裏。以下是相關的版本號:
詹金斯:1.550
JenkinsGitPlugin:2.0.1
混帳:1.7.0.4
操作系統:Ubuntu的10.04
我缺少什麼?
這做到了。謝謝! – GrampaJohn
感謝偉大的偵探工作。我在https://github.com/jenkinsci/git-client-plugin/commit/24903f5ef3d0e1cb659e605196828ce702b10b05解決了這個問題 –