我从 jenkins 控制台输出中收到以下错误。 我认为错误来自我的遥控器名为
cicd
而不是 origin
。
有没有办法在詹金斯配置中设置远程名称?我没有看到 Build triggers > Build when a change is pushed to GitLab 下的选项。
提前致谢。
hudson.plugins.git.GitException: Command "git rev-parse remotes/origin/test^{commit}" returned status code 128:
stdout: remotes/origin/test^{commit}
stderr: fatal: ambiguous argument 'remotes/origin/test^{commit}': unknown revision or path not in the working tree.