How do I add Grails to my cloudbees Jenkins installation? How do I add Grails to my cloudbees Jenkins installation? jenkins jenkins

How do I add Grails to my cloudbees Jenkins installation?


"Use Grails wrapper" will help you here (assuming you're using Grails 2.1 or later). In your app run

grails wrapper

This will create a grailsw shell script and a few other bits and pieces in your app which you need to check in. This wrapper script can be used in place of an installed grails and it will download its own copy of Grails the first time it is run. If you tell Jenkins to "use grails wrapper" then it will not require a separate installation of Grails on the build server.


If you go to /configure on your Jenkins server you should see a list of Grails installations. If it is empty, you can add one; select Use Pre-Installed Grails on DEV@Cloud and pick one of the offered versions if they suit your needs; or you can select Install automatically and get a recent build downloaded from a public mirror.

If these things do not work out, you can always open a support ticket; reference this SO question in case there is a resolution that can help others.