The Simple Build Tool (Scala) runner natively supports SBT builds: you can build your code, run tests and see the results in a handy way in TeamCity. The supported SBT version 0.13.+.
The runner, formerly provided as a standalone plugin, is bundled since TeamCity 9.1.
SBT runner settings
SBT parameters
Option |
Description |
---|---|
SBT commands |
Commands to execute, e.g. |
SBT installation mode |
When the default <Auto> option is selected, the latest SBT version will be installed on every TeamCity agent your build will be running. To specify an existing installation, use the <Custom> mode. The |
SBT home path |
Available if <Custom> is selected in the option above. The path to the existing SBT installation directory. |
Working directory |
Optional. Specify the build working directory if it differs from the build checkout directory. |
Java Parameters
Option |
Description |
---|---|
JDK |
When |
JDK home path |
Available if <Custom> is selected in the option above. Specify the path to your custom JDK which will be used to run the build. |
JVM command line parameters |
Specify the desired Java Virtual Machine parameters, such as maximum heap size or parameters that enable remote debugging. These settings are passed to the JVM used to run your build. |