Customise Check-in Policy

Hi

Can TeamCity be configured to allow us to run other checks on the code before accepting a Commit?

For example, we want to run StyleCop on the actual source during a check-in, and only if it was acceptable would we allow a check-in. Does TC provide a hook-in point at this stage?

Thanks

4 comments

No, at the moment it is impossible. Please submit a feature request to our tracker: http://www.jetbrains.net:8888/tracker

--
Pavel Sher

0

Thanks, what we'll do for now is hook in to the SVN check-in event, and run our other pre-commit checks from there.

0

Any chance that this has been implemented?

0

Hi,

  A stupid question - could you probably create a build configuration which runs all the checks and use this build configuration as a part of pre-tested commit?

  Regards,
  KIR

0

Please sign in to leave a comment.