Build Step
Represents TeamCity Build Step. Use concrete build step classes such as MavenBuildStep instead of this class.
Example. Command line build step
See also script build step
steps {
script {
scriptContent = """echo "Hello world!""""
}
}
Content copied to clipboard
Example. Maven build step
See also Maven build step
maven {
goals = "clean package"
}
Content copied to clipboard
Inheritors
Constructors
Types
Properties
Link copied to clipboard
Optional collection of build step execution conditions
Link copied to clipboard
Build step execution mode
Functions
Link copied to clipboard
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Deletes all configured build step conditions
Link copied to clipboard
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Configures build step conditions
Link copied to clipboard
Copies parameters of this object to the specified target
Link copied to clipboard
Link copied to clipboard
fun doubleParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Link copied to clipboard
fun intParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Link copied to clipboard
open fun stringParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Validates this object and reports found errors to the provided consumer