对于特定的 Windows Build Server(Jenkins Slave),我有一个非常奇怪且未涵盖的问题。
在 Jenkins 中,我有一个从特定分支中提取最新代码的工作。
git 尝试执行的实际命令是:
git fetch -t origin +refs/heads/*:refs/remotes/origin/*
Run Code Online (Sandbox Code Playgroud)
几个小时前,在正常工作 1 个月后,突然作业失败并显示以下错误:
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
hudson.plugins.git.GitException: Command "C:\Program Files (x86)\Git\bin\git.exe fetch -t origin +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: fatal: pack has 1 unresolved delta
fatal: index-pack failed
Run Code Online (Sandbox Code Playgroud)
我试图在网上找到一些关于它的帖子,但没有出现......
我已经尝试过的事情:
更多(希望重要)信息:
我按照教程安装了 Hudson 服务器。在教程中有以下 Linux 命令(hudson
是 Ubuntu 中的用户名):
sudo -Hiu hudson
Run Code Online (Sandbox Code Playgroud)
是sudo -Hiu
为了什么?执行此命令后会发生什么?