dilm
dilm

Reputation: 687

Trigger TeamCity build only when detecting changes in .java files on VCS checkout

Is there a command or parameter in TeamCity wherein it will only trigger the build if there's at least one java file that's committed when doing VCS checkout? I'm using TeamCity 8.1.3.

Upvotes: 1

Views: 1135

Answers (1)

Mohammad Nadeem
Mohammad Nadeem

Reputation: 9392

You can specify VCS Trigger Rules and use wild cards to specify java files. Something like

enter image description here

Upvotes: 2

Related Questions