How to create custom build step based on existing one in TeamCity Kotlin DSL?
How to create custom build step based on existing one in TeamCity Kotlin DSL? I use TeamCity Kotlin DSL 2018.1 to set up build configuration. My settings.kts file looks like this: version = "2018.1" project { buildType { id("some-id") name = "name" steps { ant { name = "Step1" targets = "target1" mode = antFile { path = "/some/path" } workingDir = "/some/dir" jdkHome = "some_jdk" } ant { name = "Step2" targets = "target2" mode = antFile { path = "/some/path" } workingDir = "/some/dir" jdkHome = "some_jdk" } ... } } } It works as expected, but I want to avoid writing the same repeating parameters for eve...