我坚持使用Jenkins的Gerrit触发器插件的问题 早些时候一切都还好,但突然建立破坏,配置没有改变。
这是我的日志。
Building in workspace /var/lib/jenkins/jobs/Jobname/workspace
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url ssh://username@testserver.com:29418/test # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
> git submodule foreach --recursive git reset --hard # timeout=10
ERROR Failed to submit result to Gerritjava.net.SocketException: Connection reset > git submodule foreach --recursive git clean -fdx # timeout=10
Fetching upstream changes from ssh://username@testserver.com:29418/test
> git --version # timeout=10
using GIT_SSH to set credentials
> git -c core.askpass=true fetch --tags --progress ssh://username@testserver.com:29418/test refs/changes/*:refs/changes/*
> git rev-parse origin/$GERRIT_REFSPEC^{commit} # timeout=10
> git rev-parse $GERRIT_REFSPEC^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
An attempt to send an e-mail to empty list of recipients, ignored.
Finished: FAILURE
正如我可以看到由于某些原因Gerrit构建的参数是使用Gerrit-trigger插件生成的
有没有人知道如何解决它?