Hi Anton,
I find the post very useful overall. Many thanks for it. I am only wondering why there is this mixture of Kotlin based config code and UI based build step example (this .teamcity/pom.xml maven invocation). When you already have your project configured as Kotlin code, it woud be useful to also show the rest as code.
A more generic question is related to pull request workflow with a TeamCity based gate (as described e.g. in https://www.jetbrains.com/help/teamcity/pull-requests.html). There ideally (IMHO) if you make a pull request that contains gate update (you touch anything in this .teamcity subdirectory), it would be nice if the TC related change was reflected in what is actually build as part of the pull request build process. Is it possible at all? Is there any blueprint for such a configuration as code?
Thanks a lot in advance for any comments and thoughts!
Cheers,
~Jakub