Skip to content
Failed

Console Output

Started by user rbudiard
Building on master in workspace /var/lib/jenkins/workspace/TestSSH2
executing script:
SW_CONFIG="/scratch/jenkins/applications/config"
SW_ROOT="/scratch/jenkins/applications"
PATH="/sw/tools/bin:/sw/tools/bin:$PATH"

echo $SW_CONFIG
echo $SW_ROOT
echo $PATH
pwd

[SSH] Exception:java.io.FileNotFoundException: /var/lib/jenkins/.ssh/id_rsa_bwjenkins (Permission denied)
com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /var/lib/jenkins/.ssh/id_rsa_bwjenkins (Permission denied)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:206)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:200)
	at org.jvnet.hudson.plugins.SSHSite.createSession(SSHSite.java:128)
	at org.jvnet.hudson.plugins.SSHSite.executeCommand(SSHSite.java:151)
	at org.jvnet.hudson.plugins.SSHBuilder.perform(SSHBuilder.java:60)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
	at hudson.model.Build$BuildExecution.build(Build.java:205)
	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.FileNotFoundException: /var/lib/jenkins/.ssh/id_rsa_bwjenkins (Permission denied)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:146)
	at java.io.FileInputStream.<init>(FileInputStream.java:101)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83)
	... 14 more
Build step 'Execute shell script on remote host using ssh' marked build as failure
Finished: FAILURE