would like to receive an email or webhook on build failure / success
I would suggest you to use curl and store your keys/secrets as secret variables in pipelines.
I use curl to send notifications to slack.
My code is something like this -
curl -X POST -H 'Content-type: application/json' \ --data '{"text":"Build Successful"}' \ $SLACK_URL
Link to slack documentation - https://api.slack.com/incoming-webhooks#sending_messages
In addition to the above, you would need to wrap your build steps to catch the failure in the first place
It looks like you're new here. Sign in or register to get started.