I'm considering using SBT for a new scala project, but I'm not sure which CI server - hudson / cruise / whatever has support for it. Any ideas?
I know SBT is a little Maven like, but I don't think it can work as a drop in replacement for Maven in the eyes of a CI server.
sbt is the de facto build tool in the Scala community, used by the Lift web framework and Play Framework. Scala's commercial outlet, Lightbend Inc., has called sbt "arguably the best tool for building Scala projects", saying that its two most prominent features are incremental compilation and an interactive shell.
An sbt shell is embedded in the sbt project and is available on your project start. You can use the sbt shell for executing sbt commands and tasks, for running, and debugging your projects.
To leave sbt shell, type exit or use Ctrl+D (Unix) or Ctrl+Z (Windows).
By now you would have worked through this. But I found simple integration possible by getting Hudson to call a bash script that invoked SBT. I didn't do any further integration. The solution was able to trigger a build and show the output. That is all I needed at the time.
In my experience, Travis CI https://travis-ci.org works great with SBT. See http://about.travis-ci.org/docs/user/languages/scala/ for details on using them together.
Some of my own SBT-based projects on Travis:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With