Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
adusumillipraveen committed Jan 11, 2024
1 parent 389a7e3 commit fa48bea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ steps:

- script: |
echo Add other tasks to build, test, and deploy your project.
curl $(WEBHOOK_URL) -H 'Content-Type: application/json' -d '{"type":"message","attachments":[{"contentType":"application/vnd.microsoft.card.adaptive","contentUrl":null,"content":{"$schema":"http://adaptivecards.io/schemas/adaptive-card.json","type":"AdaptiveCard","version":"1.5","body":[{"type":"TextBlock","text":"Azure Devops Pipeline Succeded","size":"Large","weight":"Bolder","wrap":true,"color":"Good"},{"type":"ColumnSet","columns":[{"type":"Column","width":"stretch","verticalContentAlignment":"Top","items":[{"type":"Image","url":"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Eo_circle_green_checkmark.svg/1200px-Eo_circle_green_checkmark.svg.png","size":"Small","horizontalAlignment":"Center"}]},{"type":"Column","width":"stretch","verticalContentAlignment":"Center"},{"type":"Column","width":"stretch","items":[{"type":"Image"}]},{"type":"Column","width":"stretch"},{"type":"Column","width":"stretch"},{"type":"Column","width":"stretch"}]},{"type":"ColumnSet","columns":[{"type":"Column","width":"stretch","items":[{"type":"TextBlock","text":"Branch","wrap":true,"weight":"Bolder"},{"type":"TextBlock","text":"Status","wrap":true,"weight":"Bolder"},{"type":"TextBlock","text":"Triggered By","wrap":true,"weight":"Bolder"}]},{"type":"Column","width":"stretch","items":[{"type":"TextBlock","text":"dev_core","wrap":true,"weight":"Lighter","isSubtle":true},{"type":"TextBlock","text":"Succeded","wrap":true,"weight":"Lighter","isSubtle":true,"color":"Attention"},{"type":"TextBlock","text":"Praveen Adusumilli","wrap":true,"isSubtle":false,"color":"Default","weight":"Default"}]}]},{"type":"TextBlock","text":"This is a notification using webhook connectors","isSubtle":true,"wrap":true}],"actions":[{"type":"Action.OpenUrl","title":"See Build","url":"https://dev.azure.com"}]}}]}'
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'

0 comments on commit fa48bea

Please sign in to comment.