1

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.

dilm
  • 687
  • 2
  • 7
  • 14

1 Answers1

2

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

enter image description here

Mohammad Nadeem
  • 9,134
  • 14
  • 56
  • 82
  • +1 for this, but I think check on option 'Trigger a build on each check-in' is not needed as with trigger rules alone build will get triggered?. – user3584056 Jul 08 '14 at 10:59