Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which CI server works with SBT?

Tags:

scala

sbt

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.

like image 347
Sudhir Jonathan Avatar asked Aug 30 '10 07:08

Sudhir Jonathan


People also ask

Is sbt same as Scala?

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.

What is sbt 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.

How do I cancel sbt server?

To leave sbt shell, type exit or use Ctrl+D (Unix) or Ctrl+Z (Windows).


2 Answers

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.

like image 183
Synesso Avatar answered Oct 21 '22 05:10

Synesso


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:

  • https://travis-ci.org/SethTisue/lens-examples
  • https://travis-ci.org/NetLogo/NetLogo-Headless
  • https://travis-ci.org/NetLogo/Tortoise
like image 25
Seth Tisue Avatar answered Oct 21 '22 06:10

Seth Tisue