SBT 0.13.15 and CircleCI

Greg Orzell
Chaotic Snippets
Published in
1 min readApr 26, 2017

UPDATE: There is a workaround where you cat /dev/null and pipe it to sbt. It’s pretty lame, but will at least unblock anyone having this issue.

cat /dev/null | sbt compile

There seems to be a strange interaction between Circle CI and SBT 0.13.15(and 0.13.14). When sbt executes the first build step it ends up in interactive mode when the build steps are finished, which then hangs the overall build.

#!/bin/bash -eo pipefail
sbt test scalastyle it:compile

Which leaves you here:

[deployment-service] $

I opened a support ticket, so we’ll see if that helps, because I can’t reproduce it on my machine. Reverting to 0.13.14 didn’t help, but reverting to 0.13.13 seems to resolve the issue for the moment.

--

--