Teamcity / Bitbucket - 在合并之前构建Pull Requests合并提交

时间:2016-12-06 14:45:39

标签: continuous-integration teamcity bitbucket pull-request

我已将Bitbucket服务器和Teamcity配置为CI。

Teamcity还会构建所有提交,并且可以很好地工作。

现在我想构建"合并提交"在Pull请求合并之前,将生成Pull请求。

1 个答案:

答案 0 :(得分:0)

bitbucket 为每个创建的拉取请求创建 pull-requests/<pr number>/from 分支。

所以你可以添加到 vcs 根分支规范规则“只获取 PR 分支”

enter image description here

然后添加 vcs 触发器以在 pull-request 中的每个新提交时自动运行它

相关问题