Trigger syntax in Teamcity DSL
Is the trigger syntax available somewhere? The only few examples available in the web seem to be for vcs type trigger, but what about Finish Build Trigger and others. Examples would be great, but if no examples at least provide the configuring options in DSL for these.
Thanks!
Please sign in to leave a comment.
The easiest way to experiment with DSL (provided you use 2017.2+) is to edit settings in UI and check the UI diff script generated by TeamCity. You can find DSL API description in online documentation (e.g. here https://teamcity.jetbrains.com/app/dsl-documentation/jetbrains.build-server.configs.kotlin.v2017_2/-build-type/index.html#), the same documentation is available on your local server, the link to documentation is on 'Versioned Settings' tab of the project in Kotlin format.
You can define triggers in DSL. More details
Thanks for the link. This was something I was looking for but unfortunately this does not show up in search results (yet). It would be really great if it would be possible to create more links to these pages from corresponding topics in TC doc. Thanks!