With the release of Play 2.0, building and testing play apps on CloudBees DEV@cloud Jenkins instances is very simple due to how it uses SBT for builds.
To get started, install the SBT Jenkins plugin at https://<account>.ci.cloudbees.com/pluginManager

Install it and once Jenkins has restarted, go to https://<account>.ci.cloudbees.com/configure and add the path to the sbt launch jar. The path is /opt/sbt/sbt-launch-0.11.3-2.jar.

Now create a new freestyle job in Jenkins. Once this is created, add a repository to pull the code from and set the JDK to 1.6.0_24 (there is a bug with the default that means SBT can't find javac).


All that is left to do is add an SBT build step.

Please note : even sbt includes a nice mecanism to let you define the exact version of sbt to be used during build, this won't work with sbt launcher < 0.11.3 due to a name change in sbt dependency.
If you want to create a dist artifact, add dist to the actions. Now save the configuration and run the build.
