从 SVN 中删除/重新创建的分支构建时,TeamCity 没有看到变化

发布于 2024-10-09 03:54:27 字数 307 浏览 0 评论 0原文

我已经设置了 Teamcity 5.1.4 来针对 SVN 存储库中的主干进行开发 CI 构建。然后我还设置了一个“QA”构建,它也指向 svn 存储库中的“QA”分支。我们不去处理丑陋的合并,而是删除 QA 分支,然后从主干的头部创建一个新分支。

但当我们执行此操作时,Teamcity 在文件中看不到任何更改。我必须删除该项目的 teamcity VCS 根目录并重新创建它。我尝试过强制对项目进行干净的构建,但除了删除项目的当前 VCS 根目录并创建一个新的根目录之外,没有其他方法似乎有帮助。

有没有更简单的方法让它构建这些,强制它从 SVN 获得完整的结帐?

I've set up Teamcity 5.1.4 to do dev CI builds against the trunk in our SVN repository. Then I also set up a "QA" build that points to a "QA" branch in the svn repository too. Rather than deal with ugly merges, we delete the QA branch and just create a new branch from the head on trunk.

But when we do this, Teamcity doesn't see any changes in the files. I have to remove my teamcity VCS root for that project and create it again. I've tried forcing a clean build on the project, but nothing other than removing the current VCS root for the project and creating a new one seems to help.

Is there an easier way to get it to build these, forcing it to get the full checkout from SVN?

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

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

发布评论

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

评论(1

唠甜嗑 2024-10-16 03:54:27

您设置了多少个存储库?您是否有主干的存储库和 QA 分支的存储库?

如果您这样做,您应该考虑在项目之间共享一个存储库,并使用签出规则来确定要使用哪个分支,请参阅此 示例。这可能对您当前的情况有所帮助,但它也将使标记变得更容易,并允许您在两个版本之间共享模板。

How many repositories do you have set up? Do you have a repository for trunk and a repository for the QA branch?

If you do you should consider having a single repository that is shared between your projects and use checkout rules to identify which branch to use, see this example. This may help your current situation but it will also make it easier to label and allow you to share a template between your two builds.

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