teamcity-slack
teamcity-slack copied to clipboard
Alter message based on item in build chain
Our configuration has us using the slack notifier on the build chain only to reduce the number of messages in slack. Being able to log out which build it was that failed from the chain in the message would be helpful.
To give the more specific example, we build release for Windows, PS4, XBox & Switch all on the same build chain, and if only Switch breaks, I'd like to add that to the message.
So you need to see the failed build reason, not the last build in chain?
Not particularly the reason (the reason being equivalent to what's in the dropdown on a build?), but which build(s) in the chain have failed.
So it makes sense, I'll investigate if it's possible to do
@Yann4 did you try the {reason}
placeholder?