VCS Exclude comment rule not working
Answered
I am trying to skip build trigger using check-in comment that includes "NO_CI".
I have the following rules specified but the build always triggers. What am I doing wrong?
-:comment=^NO_CI$:**
+:Dev\src\**
+:Dev\examples\**
+:Dev\include\**
Please sign in to leave a comment.
Haven't used this functionality but I think with comment spec you've given will only match a checkin with a comment that is exactly (and only) NO_CI. It sound from your question than you have a checkin comment and have included the NO_CI word in a longer comment text.
If that's the case remove the ^ and $ and it should match, see https://www.jetbrains.com/help/teamcity/configuring-vcs-triggers.html#trigger-rules-examples-1