SimpleBuildTool
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
Constructors
Types
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
Creates an instance of this build step via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.
The installed SBT will the launched from the SBT home (sbtHome).
Validates this object and reports found errors to the provided consumer
Properties
Build working directory for python run, specify it if it is different from the checkout directory.