Sep 28 2020 09:06 AM
we are using azure devops pipeline and web hook notifications to slack.
For below notification I changed the webhook url to outlook. But not working it says `Bad payload received by generic incoming webhook`. How to customize payload for teams.
curl -H 'Content-Type: application/json' --data-urlencode 'payload={"username": "Application","text": "Application_IOS_EnterpriseBuild","attachments": [ { "color": "#F35A00", "fields": [ { "title": "Pipeline", "value": "'"$(Agent.JobName)"'", "short": true } ] }, { "color": "#F35A00", "fields": [ { "title": "commit_sha", "value": "'"$GIT_RELEASE_NOTES "'", "short": true } ] }, { "color": "#F35A00", "fields": [ { "title": "Status", "value": "'"Started"'", "short": true } ] } ]}' https://outlook.office.com/webhook/6ab53-e6a3-4b3e-ae06-a65cdaf3b31e/IncomingWebhook/ae2d458317eb4b2...