More Notification Detail

I've set up a link (webhook) between TC and MS Teams. This triggers a message to MS Teams after a successful test run. I'd like to be able to include more detail...eg. Number of tests passed, which environment was tested etc etc.

Test framework is Maven-Java-Cucumber.

Details of the environment tested are in the pom.xml file. We're using Surefire reports too.

Here's an example of what we're getting now.

Any suggestions please?

Thanks

David

0
4 comments

Hi David,

how have you set up the webhook? Depending on how the webhook is set up it might be possible to add more information or you might need a custom plugin to provide it.

0
Avatar
Permanently deleted user
0

Hi David,

I'm afraid I didn't explain myself in my previous answer, sorry. Unless I'm missing something, we don't have any endpoint for webhooks for notifications, just some for VCS commit hooks. The question wasn't what the webhook exactly is, but how did you add it to teamcity, and/or where. This feature is probably provided by a plugin, likely a third party, so you would need to check that plugin for configuration options, or ask their developers about the possibility for expanding the functionality.

I might be missing something else so please feel free to expand if you are actually using an included feature and I am misinterpreting something.

0
Avatar
Permanently deleted user

Hi Denis,

 

Here are some screenshots that may better show what I'm trying to do/have already done. First two are the build step info, third is the Powershell hook called to send the notification. The fourth is the Surefire report that the test generates and is viewable in TC....we were hoping to get some of that detail into the Teams notification.

It may just be not possible of course!

Thanks for your continued help.

David





 

0

Please sign in to leave a comment.