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).
A list of records, each field of an item stored as a parameter of its own: parameter f of the n-th item, counting from 1, is stored as name.n.f. A script fills the list in the block of the parameter, see RecordList.
A record, each field stored as a parameter of its own: parameter f of the record is stored as name.f. A script fills the record in the block of the parameter; a record without parameters stores nothing.
Validates this object and reports found errors to the provided consumer