You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
can anyone please tell me how to configure for every build success/failure. Need to send to the one who commits his code that the build failed or successeded ?
Thank you for reaching out to the community.
If you're using Bitbucket Pipelines, you can use the YAML configuration called After scripts.
After scripts, allows you to run scripts at the end of a step execution, regardless of whether the step has failed or succeeded.
Here's a sample YAML configuration:
pipelines: branches: master: - step: name: Test script: - #some scripts here after-script: - ./send_notifcation.sh $BITBUCKET_EXIT_CODE
Hope it helps and let me know if you have further questions.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.