Plugins You can find out about all the publicly available Grails plugins.


  • Authors: Marco Vermeulen
0 vote
compile "org.grails.plugins:cloud-bees:0.6.2"

 Documentation  Source  Issues


Adds a set of scripts that allow standalone integration with the CloudBees client API.


grails install-plugin cloud-bees


CloudBees Plugin


CloudBees provides Platform as a Service for Java that offers a complete end-to-end environment, from development to production. As a Java (and hence, Groovy & Grails) developer, you can more easily create quality software by putting your code into the [email protected] build system, and from there instantly publishing your application to the cloud using [email protected] for Java.

This operation requires interaction with the CloudBees API through their SDK. This plugin exposes the CloudBees SDK API through a series of command line scripts. The CloudBees SDK does not need to be installed on your box for this to work. Simply install the plugin and start invoking commands to the cloud.

Application Configuration

Go to the CloudBees website and set up an account, then insert the following configuration in your ~/.grails/settings.groovy or BuildConfig.groovy:


Provide the account name as well as the API key and secret as required.

It is also possible to set PermGen size for your deployed application by adding the following to ~/.grails/settings.groovy or BuildConfig.groovy

cloudbees.permgensize = 128

This will set the PermGen memory size to 128MB on subsequent deployment using bees-app-deploy.


All commands are issued prefixed by the grails command, or in the interactive shell. e.g

grails bees-app-list

The following commands are provided:

bees-app-delete [appId]
bees-app-deploy [appId] [tag]
bees-app-info [appId]
bees-app-restart [appId]
bees-app-start [appId]
bees-app-stop [appId]
bees-app-tail [LOGNAME] [appId]

bees-db-create [dbId] [username] [password] bees-db-drop [dbId] bees-db-info [dbId] bees-db-list bees-db-set-password [dbId]

bees-db-snapshot-list [dbId] bees-db-snapshot-create [dbId] [title] bees-db-snapshot-deploy <snapshotId> [dbId] bees-db-snapshot-delete <snapshotId> [dbId]

bees-config-list [type] [appId] bees-config-set <name1=value1,name2=value2> [type] [appId] bees-config-unset [type] [appId]

All commands have comprehensive help, which can be viewed as follows:

$ grails help bees-app-deploy
Environment set to development

grails bees-app-deploy -- Deploy a new version of an application using a WAR archive file.

Usage (optionals in square brackets):

grails bees-app-deploy [appId] [tag] appId : application id (defaults to application name) tag : release tag (defaults to application version)

Don't forget to run the war command before running bees-app-deploy. The bees-app-deploy command doesn't build the war itself.

Source Code

Source code can be found on GitHub at:

Issue Tracking

Issues and and feature requests can be added at Jira: