tcWebHooks icon indicating copy to clipboard operation
tcWebHooks copied to clipboard

Experimental UI buildStatusUrl

Open ghost opened this issue 4 years ago • 2 comments

For Legacy JSON webhook there is buildStatusUrl field, that looks like

"buildStatusUrl": "http://host:port/viewLog.html?buildTypeId=RestApiFramework_VerifyStage_2&buildId=5886",

Enhancement proposal: support also new experimental UI URL in a separate parameter. It is formatted with same parameters, but differs a bit: http://host:port/buildConfiguration/RestApiFramework_VerifyStage_2/5886?

ghost avatar Jan 26 '21 11:01 ghost

Hi @schernov-xo This is a great suggestion. Thanks!

The new UI is called Sakura, so a good name might be buildStatusSakuraUrl.

In the mean time, it's possible to add it into the extraParameters map in the payload, by creating a TeamCity parameter like the following.

image

For legacy webhooks, it will appear in the extraParameters map.

If you're using a template, this variable will be available for use in the template as ${buildStatusSakuraUrl}.

netwolfuk avatar Jan 27 '21 15:01 netwolfuk

Thanks for this clarification. Right now I do it a bit another way - I format the link on the backend side of my webhook. Just wanted to propose enhancement.

ghost avatar Jan 27 '21 16:01 ghost