This document provides Kotlin DSL API reference. If you are not familiar with Kotlin DSL, please read our online documentation.
To get DSL API documentation in the IDE, run the mvn -U dependency:sources
command.
To read the documentation without a connection to TeamCity server, download the zip.
The DSL API version is encoded into the package name, for example: jetbrains.buildServer.configs.kotlin.v2019_2 The version part there corresponds to TeamCity version when this DSL API was introduced. The new DSL API version is usually introduced when there are significant incompatible changes in DSL API.
TeamCity preserves backward compatibility, so if you started working with Kotlin DSL in TeamCity 2017.2, you can continue using classes from the v2017_2 package even on TeamCity 2019.2.
The latest DSL API version supported by this server is v2019_2.