Streamlining Configuration With Kotlin: Harnessing Inheritance, Variables, and More!
summary
Demonstrates building a TeamCity Kotlin DSL setup that compiles during edit, producing runnable pipelines for Windows, macOS and Linux from one reusable base BuildType. Shows concrete code: VCS root, trigger on master, a Windows pre-cleanup script, parameterized Unity paths and versions, snapshot + artifact dependencies, and conditional edit-mode and play-mode tests. The Kotlin DSL compiles successfully in the demo and creates a working multi-OS Unity pipeline that can be reused via context parameters across projects.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 1:43Setting up the project
- 3:43Creating a build pipeline
- 10:31Refactoring and cleaning
- 15:34Multi-OS support
- 24:55Customizing build steps
- 28:55Integrating automated tests
- 37:22Dependencies and chaining
- 47:25Advanced reuse and conclusion
related talks
01h 04mGetting Started With Kotlin DSL in TeamCity: From Zero to Hero
45mKotlin DSL in under an hour
50mThe Kotlin DSL experience in Gradle
29mCompile, Deploy and Manage Your CI in Kotlin
22mUse Kotlin DSLs for your Gradle scripts
26mKotlinize your CI, from Gradle tuning to Kotlin Script
44mKotlin DSL as a single source of truth for solving many tasks
48mType-Safe Build Logic with Gradle Kotlin DSL
