Jenkins-CVS插件 - 命令在请求处理期间中止

时间:2013-01-09 07:57:35

标签: jenkins cvs jenkins-plugins

当尝试使用最新的CVS更新工作区时,Jenkins构建作业不时失败,并出现以下错误:

[EnvInject] - Loading node environment variables.
Building on master in workspace
Using locally configured password for connection to :pserver:myuser@server:/export/home/cvsroot
cvs update -d -P -r HEAD -D 08 Jan 2013 06:29:03 -0500 prjname
ERROR: CVS Command aborted: Aborted during request processing
org.netbeans.lib.cvsclient.command.CommandAbortedException: Aborted during request processing
        at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:673)
        at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:598)
        at org.netbeans.lib.cvsclient.command.update.UpdateCommand.execute(UpdateCommand.java:347)
        at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:710)
        at hudson.scm.AbstractCvs$1.invoke(AbstractCvs.java:243)
        at hudson.scm.AbstractCvs$1.invoke(AbstractCvs.java:223)
        at hudson.FilePath.act(FilePath.java:842)
        at hudson.FilePath.act(FilePath.java:824)
        at hudson.scm.AbstractCvs.perform(AbstractCvs.java:223)
        at hudson.scm.AbstractCvs.checkout(AbstractCvs.java:140)
        at hudson.scm.CVSSCM.checkout(CVSSCM.java:318)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
        at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
        at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
        at hudson.model.Run.execute(Run.java:1502)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:236)
ERROR: Cvs task failed

如果我重新启动构建,则更新会很顺利。

  • Jenkins版本:1.478
  • Jenkins-CVS插件版本:2.7

1 个答案:

答案 0 :(得分:0)

您正在看到的CommandAbortedException正在抛出,因为代码收到了InterruptedIOException。

这表示该线程在尝试与您的CVS服务器通信时抛出了InterruptedException,因此有人在您的作业上点击了取消按钮,或者您有一个尝试结束Java线程的进程。