I have a current bitbucket-pipelines.yml file structured like this,
image: openjdk:11.0.1 pipelines: default: - step: script: - 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.