Open amir-arad opened 9 years ago
... #86, #87, #88 ...
Yes - it would make a lot of sense for the default to be the name of the TeamCity build, which is pretty much what I'm laboriously writing in to the content field by hand.
Is it possible to set branch name as context parameter (at least manually - as some build property)? Tried %build.branch% and a bunch of other parameters, but without any success, unfortunately (we're using build specs but getting %teamcity.build.branch%==<default>
).
@iOSCowboy can you help me please with problem above as the author of context support feature?
Aaah, fixed via configuration instead of system/env parameter.
@thevery I know this is old, but do you perhaps remember what exactly you did to fix this?
AFAIR instead of 2 status reports like 'feature_branch' and 'pull_request_number/merge' I've switched to 2 build configs from template, BUT better solution is to use built-in commit status publisher plugin which resolves this issue out of the box.
It is now possible to display results of multiple CI builds and systems by using different values in the context field of the report.
https://github.com/blog/1935-see-results-from-all-pull-request-status-checks
This will greatly improve visibility of branch / PR status if more than one job is concerned.