Saturday, February 12, 2011

sbt plugin on Jenkins

So you all know about Jenkins right?

Hudson was renamed to Jenkins and the old Hudson project is now cared for by Oracle. In case you missed the whole thing (hiding under that stone again?) you can read all about it here, here or here.

I consider myself loyal to the creators of Hudson and to it's community, and have followed them to Jenkins, who's site is now available at http://jenkins-ci.org/. In the future, if the Hudson API will diverges too much from Jenkins' I have no plans on maintaining my plugins on both branches and will drop it's support in Hudson.

Speaking about the sbt plugin, I have released a new version! The sbt plugin version 1.2 should now be available for download through your Jenkins plugin list. Read all about it in the plugin wiki page.

The biggest news in this release is the supports for multiple sbt launchers. In your Jenkins preferences page, define all of your sbt launchers:


Then, (if you haven't done that already) in your project preferences, add an sbt build step:


Now, choose which sbt launcher to use, add any jvm and sbt flags you need for your build, and specify which actions you want to run. Keep the -Dsbt.log.noformat=true sbt flag to keep the console output clean.



After that, run your project and watch sbt do it's magic on the Jenkins virtual console.

I sure hope you like it. Please let me know if you have any issues with the plugin or if you want to see any features.

And here are some new links:
See you soon!


2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Nice to see that you are active as usual!

    ReplyDelete