简体   繁体   中英

Teamcity / Bitbucket - Build a Pull Requests merge commit before merge

I have configured a Bitbucket Server and Teamcity as CI.

Teamcity also builds all commits, which does work very well.

Now I want to build the "Merge commit" which will be generated of a Pull request, before the Pull Request gets merged.

bitbucket creates pull-requests/<pr number>/from branch for every created pull request.

so you can add to vcs root branch specification rule "get only PR branches"

在此处输入图片说明

and then add vcs trigger to run it automatically on every new commit in pull-request

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