github - How to stop TeamCity from building a pull request when it is viewed or commented? -
currently, team using teamcity automatically build pull requests github.
we have configuration build pull requests. in version control settings of config, our branch specification is
+:refs/pull/*/merge
in "build triggers" configuration setting, have 1 trigger following trigger rule:
+:root=pull requests on our repository:\***/*\*
"pull requests on our repository" our vcs root name.
the issues:
- when views pull request on github website without doing else, build triggered in teamcity build agent. quite annoying, because time time, have multiple build agents building same pull requests (when multiple people view it).
- when comments on pull request, build triggered.
from perspective, time want teamcity start build when new commits pushed pull requests.
is there way it?
do have teamcity configured per blog post? activate teamcity service hook in github takes care of triggering build in teamcity whenever there push. seems right thing me. or missing something?
Comments
Post a Comment