Teamcity trigger for github pull requests

I want to create every download request combined with a wizard. I have a teamcity setup as follows: http://blog.jetbrains.com/teamcity/2013/02/automatically-building-pull-requests-from-github-with-teamcity/

Industry Specification: +: links / pull / (* / merge)

Default fork: wizard

I have gitub teamcity Service Hook installed.

http://www.jaxzin.com/2011/02/teamcity-build-triggering-by-github.html

When I turn on the command line hook. The work recognizes the changes, but the assembly remains pending and does not start. Do I need to configure a VCS trigger?

I tried tuning without a teamcity service hook, but builds for all requests. Pull-Requests is re-run whenever a new PR is sent. The assembly also starts on PRs that close.

Can anyone share their configuration in order to initiate assembly only once and not build any closed PRs?

+4
source share
1 answer

There is no need for TeamCity GitHub, you can go with a simple VCS trigger.

At the first start, active branches will be activated . From docs :

A branch is considered active if:

  • VCS (. , teamcity.activeVcsBranch.age.days, - 7 ).
  • (.. , teamcity.activeBuildBranch.age.hours, 24 ).

, .

, .

0

All Articles