It seems that R is not installed in the build node.

On 20/05/2016 07:30, Ashwitha H N wrote:
Hi


    Am trying to run an Rscript on jenkins and have referred the
    http://biouno.org/tutorials/using-the-jenkins-r-plugin.html link
    for same.


when i Build the job i get the following error

Building in workspace /var/lib/jenkins/workspace/r_exam
[r_exam] $ Rscript /tmp/hudson4474744031922939678.R
FATAL: command execution failed
java.io.IOException <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Cannot run program "Rscript" (in directory "/var/lib/jenkins/workspace/r_exam"): error=2, No such file or directory atjava.lang.ProcessBuilder.start(ProcessBuilder.java:1047) <http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessBuilder.start&entity=method> athudson.Proc$LocalProc.<init>(Proc.java:240) <http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method> athudson.Proc$LocalProc.<init>(Proc.java:212) <http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method> athudson.Launcher$LocalLauncher.launch(Launcher.java:815) <http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$LocalLauncher.launch&entity=method> athudson.Launcher$ProcStarter.start(Launcher.java:381) <http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.start&entity=method> athudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95) <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.perform&entity=method> athudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64) <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.perform&entity=method> athudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method> athudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method> athudson.model.Build$BuildExecution.build(Build.java:205) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.build&entity=method> athudson.model.Build$BuildExecution.doRun(Build.java:162) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method> athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> athudson.model.Run.execute(Run.java:1738) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> athudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> athudson.model.ResourceController.execute(ResourceController.java:98) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> athudson.model.Executor.run(Executor.java:410) <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>: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)

Could you please help me resolve this
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/42a45d92-1561-445e-b990-efb204ad0909%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/42a45d92-1561-445e-b990-efb204ad0909%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/69757a98-c184-d961-f057-28e7a3d4c221%40boxever.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to