I have a current bitbucket-pipelines.yml file structured like this,

image: openjdk:11.0.1
    - step:
          - bash ./gradlew build

This runs okay, However I want to add a notification to be sent on build failure and on success including the last commit user name in the message, I am not at expert at this so any help would be highly appreciated. (Also any good book for bitbucket yml pipelines suggestion would be highly appreciated)

Assume I have the webhook url from slack.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.