简体   繁体   中英

Is it possible to stop a subversion checkin if the teamcity build is broken?

We have a large distributed team some of which continually check in without updating first and (worse!) check in when the teamcity build is red.

Is it possible to set subversion to check a teamcity build status before allowing people to check in new work?

I realise this is almost certainly a horrible thing to do and team education and complacence would be better...

您可以编写一个svn pre-commit钩子,该钩子将使用TeamCity API查看构建是否损坏,如果中断,则停止提交。

Teamcity提供了一项称为“ 预测试提交 ”的功能,也许这对您有帮助?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM