I am using SonarQube v.8.1 (build 31237) with developer license. I want SonarQube call a webhook to Microsoft Teams for notify the scan results. I created a generic webhoook on MS-Teams and already tested. The link is success to send notification by PostMan from my laptop and curl from SonarQube server. Then I put this link in a new project webhook and test by running scanning and send to SonarQube server. I see the new scanning result shown on web but no delivery status update on the webhook. It looks like the webhook is not trigged.
Microsoft Teams has a feature to integreat with other by provide a webhook url for other system to send message into a chat. For example, GitHub like below picture.
I see in your SQ screenshot that your last analysis was on 15 May, presumably after you defined your webhook. I also see that the webhook has never been sent. Okay, so far so good bad.
What I also see is that you had 2 warnings on your last analysis (the yellow box toward the top-right). I’m wondering if one of them will explain why your webhook didn’t fire. Could you see what the warnings are and whether either of them has something to do with your webhook?
Thank you for your suggestion. I looked in ce.log and found some exception form slack plugin. I removed the plugin and the webhook got trigger. Unfortunately, the delivery was fail because MS-Team general webhook rejected the request.
This is because the ‘summary’ attribute is a required field for it. I will continue work with my MS-Team integration team for fixing this.