Continuous integration &引用;hudson.util.IOException2:未能创建临时文件";

Continuous integration &引用;hudson.util.IOException2:未能创建临时文件";,continuous-integration,hudson,Continuous Integration,Hudson,我今天来上班,发现我的哈德逊有这个问题!我试过研究,但没发现任何对我有帮助的东西 遵循完整的堆栈: hudson.util.IOException2: Failed to create a temp file on /home/cpcaserver5/.hudson/jobs/SVN/workspace at hudson.FilePath.createTextTempFile(FilePath.java:966) at hudson.tasks.CommandInterpret

我今天来上班,发现我的哈德逊有这个问题!我试过研究,但没发现任何对我有帮助的东西

遵循完整的堆栈:

hudson.util.IOException2: Failed to create a temp file on /home/cpcaserver5/.hudson/jobs/SVN/workspace
    at hudson.FilePath.createTextTempFile(FilePath.java:966)
    at hudson.tasks.CommandInterpreter.createScriptFile(CommandInterpreter.java:124)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:68)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:630)
    at hudson.model.Build$RunnerImpl.build(Build.java:175)
    at hudson.model.Build$RunnerImpl.doRun(Build.java:137)
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429)
    at hudson.model.Run.run(Run.java:1366)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:145)
Caused by: hudson.util.IOException2: Failed to create a temporary directory in /etc/tomcat6/apache-tomcat-6.0.35/temp
    at hudson.FilePath$12.invoke(FilePath.java:955)
    at hudson.FilePath$12.invoke(FilePath.java:944)
    at hudson.FilePath.act(FilePath.java:758)
    at hudson.FilePath.act(FilePath.java:740)
    at hudson.FilePath.createTextTempFile(FilePath.java:944)
    ... 12 more
Caused by: java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1716)
    at java.io.File.createTempFile(File.java:1804)
    at hudson.FilePath$12.invoke(FilePath.java:953)
    ... 16 more
Email was triggered for: Failure
Sending email for trigger: Failure

看起来您有权限问题。确保您使用适当的用户权限运行Jenkins/Tomcat。如果这种情况发生在从属进程上,也一样-检查从属进程是否以具有适当权限的用户身份运行