【发布时间】:2011-12-03 00:18:50
【问题描述】:
我在我的服务器上配置了 hudson,我正在使用从我的 git 存储库中获取的代码。 实际上,我已经正确设置了环境,并且通过 Hudson 进行的所有构建都成功但最近我从 github.com 更改了我的 git 密码,现在所有构建都失败了,出现 401 错误,我知道这是由于密码更改造成的。谁能告诉我如何通过 git 插件更改 Hudson 中的密码,以便通过身份验证。 这是我得到的错误
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR: (Underlying report) : Error performing command: /usr/bin/git fetch -t
https://github.com/xxx/xxx +refs/heads/*:refs/remotes/origin/*
Command "/usr/bin/git fetch -t https://github.com/xxx/xxx +refs/heads/*:refs
/remotes/origin/*" returned status code 128: error: The requested URL returned error: 401
while accessing https://github.com/xxx/xxx/info/refs
fatal: HTTP request failed
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
有什么想法吗??
【问题讨论】: