I have Teamcity job defined in Kotlin and I want to add a trigger.
I used:
buildType {
triggers {
trigger {
type = "VCS Trigger"
enabled = true
}
}
}
What definition should I use to have proper VCS trigger in place
I found the way to do it using vcs directive.
Note, you have to import trigger class