I had set-up notifications via Microsoft Teams for my jenkins job - success, failure, abort, etc.
pipeline {
options {
office365ConnectorWebhooks([[
startNotification: true,
notifySuccess: true,
notifyFailure: true,
notifyAborted: true,
notifyBackToNormal: true,
url: 'webhook_url'
]]
)
} }
With the help of above script i am receiving notifications for all except the failure notifications.
Even i aborted the job i am receiving the notification.
Can anyone help on this issue ?