Bitbucket build failed notifications on your phone.
Get a High-priority push notification when a Bitbucket Pipelines build (or any build status on a commit) fails.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Bitbucket
Add it as a webhook for Build status updated.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Bitbucket build status updated webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In your Bitbucket repository, open Repository settings > Webhooks and click Add webhook.
- Enter a title and paste your webhook URL as the URL.https://••••••••/•••••••• your personal URL, shown after install
- Under Triggers, pick Choose from a full list of triggers, tick Build status updated and save.
- Under **Triggers**, tick **Build status updated**. Also tick **Build status created** if another CI tool reports builds straight as failed; it's safe to have both, since only the final state pushes. Only failed builds push by default. Add `?all=1` to the URL to also get a quiet push when a build succeeds:
- ```
- your webhook URL?all=1
- ```
- This covers Bitbucket Pipelines and any other tool that reports build statuses on commits (Jenkins, Bamboo, …). Stopped builds are ignored.
- Bitbucket signs deliveries when you set a **Secret** (`X-Hub-Signature: sha256=…`), but JustPush doesn't check that signature yet, so keep your endpoint URL private.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Bitbucket repo:commit_status_updated webhook
This is what Bitbucket sends to your URL for build status updated. It is a sample, trimmed to the fields recipes use.
Bitbucket build failed notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Bitbucket and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Bitbucket on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.