This is the exception I'm getting:



Building in workspace /jenkins/workspace/teste
Installing JDK jdk-6u34-oth-JPR
Downloading JDK from 
http://download.oracle.com/otn/java/jdk/6u34-b04/jdk-6u34-linux-x64.bin
Downloading 72036348bytes

Installing /jenkins/tools/JDK/1.6.34/jdk.sh
[1.6.34] $ /jenkins/tools/JDK/1.6.34/jdk.sh -noregister
FATAL: command execution failedjava.io.IOException 
<http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Cannot run 
program "/jenkins/tools/JDK/1.6.34/jdk.sh" (in directory 
"/jenkins/tools/JDK/1.6.34"): java.io.IOException: error=13, Permission denied
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) 
<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessBuilder.start&entity=method>
        at hudson.Proc$LocalProc.<init>(Proc.java:244) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method>
        at hudson.Proc$LocalProc.<init>(Proc.java:216) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method>
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:763) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$LocalLauncher.launch&entity=method>
        at hudson.Launcher$ProcStarter.start(Launcher.java:346) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.start&entity=method>
        at hudson.Launcher$ProcStarter.join(Launcher.java:353) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.join&entity=method>
        at hudson.tools.JDKInstaller.install(JDKInstaller.java:185) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.JDKInstaller.install&entity=method>
        at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:132) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.JDKInstaller.performInstallation&entity=method>
        at 
hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.InstallerTranslator.getToolHome&entity=method>
        at 
hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.ToolLocationNodeProperty.getToolHome&entity=method>
        at 
hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:203) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tools.ToolInstallation.translateFor&entity=method>
        at hudson.model.JDK.forNode(JDK.java:122) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.JDK.forNode&entity=method>
        at 
hudson.model.AbstractProject.getEnvironment(AbstractProject.java:311) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.getEnvironment&entity=method>
        at hudson.model.Run.getEnvironment(Run.java:1965) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.getEnvironment&entity=method>
        at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:930) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getEnvironment&entity=method>
        at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:75) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.perform&entity=method>
        at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.perform&entity=method>
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method>
        at hudson.model.Build$BuildExecution.build(Build.java:199) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.build&entity=method>
        at hudson.model.Build$BuildExecution.doRun(Build.java:160) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
        at hudson.model.Run.execute(Run.java:1516) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:88) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.java:236) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Caused by: java.io.IOException 
<http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: 
java.io.IOException: error=13, Permission denied
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) 
<http://stacktrace.jenkins-ci.org/search/?query=java.lang.UNIXProcess.%3Cinit%3E&entity=method>
        at java.lang.ProcessImpl.start(ProcessImpl.java:81) 
<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessImpl.start&entity=method>
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:468) 
<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessBuilder.start&entity=method>
        ... 25 more

Reply via email to