在 Visualsvn 服务器中使用提交后挂钩来触发 teamcity 中的构建,同时遵守安静期

发布于 2024-09-06 08:51:38 字数 321 浏览 0 评论 0原文

如何设置 VisualSVN Server 以在有人提交并遵守设置的安静期后触发 Teamcity 构建特定项目?

现在我在 Visual svn 服务器的提交后钩子中使用它:

wget http://<user name>:<user password>@<server address>/httpAuth/action.html?add2Queue=<build type Id>

问题是我需要根据提交的项目来更改构建类型 ID,另一个问题是它立即启动构建并忽略我设定的安静时间为 2 分钟。

How do I setup VisualSVN Server to trigger Teamcity to build a specific project after someone commits to it while obeying the set quiet period?

Right now I am using this in the post commit hook of visual svn server:

wget http://<user name>:<user password>@<server address>/httpAuth/action.html?add2Queue=<build type Id>

The problem with this is I need the build type ID to change depending on what project was committed to and the other problem is that it starts the build right away and ignores my set quiet period of 2 minutes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

哥,最终变帅啦 2024-09-13 08:51:38

找到了答案。使用 teamcity 的 VCSupdate 插件,并在 vcs 根目录的 vcsupdate url 上使用 wget。

Found the answer. Use the VCSupdate plugin for teamcity and use wget on thevcsupdate url for the vcs root.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文