Efficiently replicate build logic across projects, apply updates to multiple configurations consistently, and manage your pipelines programmatically. TeamCity’s Kotlin DSL gives you the power of a fully-fledged programming language for configuring CI/CD projects of any complexity.
Access every TeamCity build feature from an intuitive, statically typed language.
Define your own classes, functions, and libraries to write efficient and well-structured pipeline logic. Import functionality from external libraries.
Configure sequential and parallel build chains with code that’s easy to understand. Preview the settings for a particular configuration from the TeamCity UI.
Take advantage of JetBrains Kotlin, a powerful YAML alternative, and simplify the build configuration process. Not fluent in Kotlin yet? TeamCity comes with extensive Kotlin DSL documentation with comprehensive examples that can help you get started and take full advantage of the Kotlin DSL’s capabilities.
“In the Kotlin DSL provided by TeamCity, you can make whatever tweaks you want to the build pipeline. You can change the steps, triggers, and many other things.”
“When Gearbox started using Kotlin for project configuration, the team was very excited about it. Even those with little experience with Kotlin were able to figure it out and start using it quickly enough. There’s a learning curve, but generally, the vibe was positive.”
Nobody likes YAML, but there were no better alternatives – until now. Configure your pipelines using the Kotlin DSL in TeamCity, a powerful CI/CD solution for projects of any size and complexity.