Child pages
  • SBT Runner Plugin

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
The plugin is bundled since TeamCity 9.1. Check the corresponding section in the documentation.

 

General Info

Author

Ekaterina Shliakhovetskaja

License

Apache 2.0

Type

free, open-source

Downloads:

SBT runner for TeamCity 9.0.x

 

SBT runner for TeamCity 8.1.x

 

SBT runner for TeamCity 8.0

 

Plugin Description

Adds the ability to run SBT builds in TeamCity. Supported SBT version 0.13.x.

The plugin supports native SBT log level provided via project config files or via commands (e.g. --error) in command lines. All errors which occurred during the build execution will be shown in an easy-to-read form.

Important note: If you were using the first snapshot version of SBT runner with the 'Custom' SBT installation mode, please remove the following lines from your project builds file and/or your SBT global config settings:

Code Block
resolvers += Resolver.url("sbt-plugin-snapshots", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns)

addSbtPlugin("org.jetbrains" % "sbt-teamcity-logger" % "0.1.0-SNAPSHOT")

Features:

  • runs SBT builds
  • displays build results in handy way
  • displays test results in handy way

Related Blog Posts

SBT runner for TeamCity

...

Current latest development branch: master (compatible with TeamCity 8.1 and newer)
For TeamCity 8.0.x use branch: 8.0
Public repository: https://github.com/JetBrains/tc-sbt-runner.git

Building

...

Installation instructions:

...

Plugin Development Status

In active development. Everybody is encouraged to try the plugin and provide feedback in the forum or post bugs into Production quality.  If you encounter an issue, use the forum or the issue tracker. Please note the plugin version that you use.

...

You may want to update to the latest build of the SBT runner plugin. The current latest plugin branch is compatible with TeamCity 8.1.x. To apply the patch, please do the following:

  1. Download the latest build from here.
  2. Stop the server,
  3. Locate <server>/webapps/ROOT/WEB-INF/plugins/tc-sbt-runner.zip
  4. Backup the original file
  5. Replace it with one downloaded from the latest build artifacts
  6. Start the server again