【发布时间】:2017-11-22 19:35:11
【问题描述】:
我正在运行 Jenkins docker 映像并尝试通过 GitHub 执行 git push。
我在 PostSteps(Execute Shell) 和 PostBuild Actions 中使用 Git Publisher 进行了 git commit。
我需要在 Jenkins 中提供一些特定的身份验证吗?
我无法弄清楚。
提前非常感谢。
错误:
无法将分支 master 推送到 origin hudson.plugins.git.GitException:命令“git push HEAD:master -f”返回状态码 128: 标准输出: 标准错误:远程:用户名或密码无效。 致命:“”的身份验证失败 在 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1903)
【问题讨论】: