teams webhook - simeonlam/knowledge GitHub Wiki

create webhook in teams

https://dotblogs.com.tw/stanley14/2018/08/04/Jenkins_O365_MSTeams

curl to call incoming webhook

post msg from jenkins to webhook

test with curl

curl -H 'Content-Type: application/json' -d '{"text": "Hello from: simeon"}' ${webhook_url}