Openshift Jenkins构建无法删除构建器上的临时shell脚本

Openshift Jenkins构建无法删除构建器上的临时shell脚本,jenkins,openshift,Jenkins,Openshift,我在OpenShift和Jenkins building上有一个工作的Django设置,所以这在以前工作过。现在,几周来我和詹金斯一直有问题。这里有一个症状: FATAL: Unable to delete script file /tmp/hudson2562951972265911713.sh hudson.util.IOException2: remote file operation failed: /tmp/hudson2562951972265911713.sh at hudson.

我在OpenShift和Jenkins building上有一个工作的Django设置,所以这在以前工作过。现在,几周来我和詹金斯一直有问题。这里有一个症状:

FATAL: Unable to delete script file /tmp/hudson2562951972265911713.sh
hudson.util.IOException2: remote file operation failed: /tmp/hudson2562951972265911713.sh at hudson.remoting.Channel@1826d31:stablesbldr
    at hudson.FilePath.act(FilePath.java:900)
    at hudson.FilePath.act(FilePath.java:877)
    at hudson.FilePath.delete(FilePath.java:1262)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:101)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
    at hudson.model.Build$BuildExecution.build(Build.java:199)
    at hudson.model.Build$BuildExecution.doRun(Build.java:160)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
    at hudson.model.Run.execute(Run.java:1575)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:237)
Caused by: hudson.remoting.ChannelClosedException: channel is already closed
    at hudson.remoting.Channel.send(Channel.java:494)
    at hudson.remoting.Request.call(Request.java:129)
    at hudson.remoting.Channel.call(Channel.java:672)
    at hudson.FilePath.act(FilePath.java:893)
    ... 13 more
Caused by: java.io.IOException: Unexpected termination of the channel
    at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
.......

因此Jenkins无法删除生成器计算机上的远程脚本。我甚至重新安装了jenkins gear,并将jenkins盒带重新添加到我的应用程序中。

显然,这与连接断开到从属服务器有关。 关于这个答案的第二条评论是:你为我做了这件事


当我不断刷新节点状态时,它告诉我,当Django后期处理静态文件时,响应时间上升到400ms。也许这会使从机处于脱机模式。

我认为这与:是否可以在Jenkins gear上运行构建?有趣的是,我正在寻找相反的方法,能够保留这些文件,以便手动执行它们以进行调试。有什么想法吗?