Getting Started With Kotlin DSL in TeamCity: From Zero to Hero
summary
Shows how to enable TeamCity’s Kotlin DSL, have the server commit a settings.kts to VCS, and use view DSL copy‑paste to generate correct Kotlin blocks; demonstrates a build chain of four build types (build, fastest, slowest, package), runs two tests in parallel, refactors duplicated build definitions into a reusable Maven class, and proves changes update TeamCity automatically. Covers how UI edits produce patch files for conflicts when Kotlin is ambiguous, how to declare sequential/parallel blocks, and use context parameters as templates for reusable configs.
AI-written summary · about
chapters (12)
- 0:00Intro
- 1:30Project Overview
- 3:10TeamCity UI Project Setup
- 6:55Enabling Versioned Settings
- 9:22Basic Kotlin Script Overview
- 16:15View DSL - Kotlin Code Through the UI
- 22:15UI / Kotlin Code Conflicts
- 28:26Creating Build Pipelines
- 38:30Refactoring Build Pipelines
- 49:49Context Parameters
- 57:20Recap
- 59:15Q&A
related talks
49mStreamlining Configuration With Kotlin: Harnessing Inheritance, Variables, and More!
45mKotlin DSL in under an hour
50mThe Kotlin DSL experience in Gradle
22mUse Kotlin DSLs for your Gradle scripts
44mKotlin DSL as a single source of truth for solving many tasks
34mCreating Small DSLs with Idiomatic Kotlin
29mCompile, Deploy and Manage Your CI in Kotlin
30mKotlin DSLs
