【问题标题】:Does the TeamCity build feature "Pull request" automatically run a merge build?TeamCity 构建功能“拉取请求”是否会自动运行合并构建?
【发布时间】:2019-11-17 23:12:43
【问题描述】:

TeamCity 构建功能 Pull request 是否会自动构建针对 master 的拉取请求?我不是在谈论自动合并到 master 中,只是针对它进行构建。

我似乎找不到任何文档。以前在 TC 我可以看到两种分支33/mergepull/33,启用构建功能后我只能看到pull/xx 被触发。在构建摘要中,它确实声明了Submitted into refs/heads/master, from xxxx-pull-request by xxxxxx

所以我只能根据上面的文字假设它正在针对master 运行拉取请求,但是我似乎找不到任何文档来表明这一点。

【问题讨论】:

    标签: teamcity


    【解决方案1】:

    它不是自动的,它取决于如何设置 vcs root 与当前主集 VCS root +:refs/pull/(*/merge) 构建 PR 修订合并

    https://blog.jetbrains.com/teamcity/2013/02/automatically-building-pull-requests-from-github-with-teamcity/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-09-20
      • 2019-08-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-25
      相关资源
      最近更新 更多