Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I add Grails to my cloudbees Jenkins installation?
    text
    copied!<p>I'm trying to follow the instructions here to run my Grails build on the Cloudbees' Jenkins service:</p> <p><a href="http://wiki.cloudbees.com/bin/view/DEV/Build+and+Deploy+Grails+application" rel="nofollow noreferrer">http://wiki.cloudbees.com/bin/view/DEV/Build+and+Deploy+Grails+application</a></p> <p>However, when I try to select a Grails installation for my build job from the "Grails Installation", the drop-down list is empty except for the "Default" option:</p> <p><img src="https://i.stack.imgur.com/ZSokI.png" alt="enter image description here"></p> <p>When I run my build I get the following error message as though there are no Grials instances installed:</p> <pre><code>java.io.IOException: Cannot run program "grails" (in directory "/scratch/jenkins/workspace/liza"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at hudson.Proc$LocalProc.&lt;init&gt;(Proc.java:244) at hudson.Proc$LocalProc.&lt;init&gt;(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:709) at hudson.Launcher$ProcStarter.start(Launcher.java:338) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:934) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:901) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.&lt;init&gt;(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 15 more </code></pre> <p>Am I doing something wrong? Do I need to install Grails myself somehow?</p> <p>I've tried checking the "Use Grails wrapper" checkbox but I still get a similar issue: </p> <pre><code>[liza] $ /scratch/jenkins/workspace/liza/grailsw upgrade --non-interactive FATAL: command execution failed java.io.IOException: Cannot run program "/scratch/jenkins/workspace/liza/grailsw" (in directory "/scratch/jenkins/workspace/liza"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload