How Do I Run Unit Test Before Code Goes Into VCS?

Folks,

We need TeamCity to do below:
1. Developer change code in his own VCS local copy
2. Developer check-in his code, could TeamCity automaticly intercept the check-in and trigger the build/test?
3. After the test, code is checked into VCS repository

Could TC support this?

Thanks

1 comment
Comment actions Permalink

Hello,

  Yes, this kind of scenario is supported. Please take a look at
  http://www.jetbrains.com/teamcity/delayed_commit.html

  Regards,
  KIR

0

Please sign in to leave a comment.