Simple Build Tool
A Simple Build Tool (Scala) build step running SBT builds.
Example. Adds a Simple Build Tool (Scala) build step with default parameters and Java setup.
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
simpleBuildTool {
name = "My SBT step"
commands = "compile test"
}
Content copied to clipboard }
}
Example. Adds a Simple Build Tool (Scala) build step with custom working directory, custom installation mode, and Java parameters.
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
simpleBuildTool {
name = "My SBT step"
workingDir = "project/"
commands = "compile test"
installationMode = custom {
sbtHome = "path/to/sbt/home"
}
jdkHome = "%env.JDK_11_0%"
jvmArgs = "-Xmx512m"
}
Content copied to clipboard }
}
See also
Properties
Optional collection of build step execution conditions
Build step execution mode
Build working directory for python run, specify it if it is different from the checkout directory.
Functions
TeamCity bundled SBT launcher will be used.
Deletes all configured build step conditions
Configures build step conditions
Copies parameters of this object to the specified target
The installed SBT will the launched from the SBT home (sbtHome).
Validates this object and reports found errors to the provided consumer