Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

bitbucketpipelines/slack-notify:0.3.7 fails on status 200


I've added a pipeline to send a slack notification once the latest commit has been deployed:

- step: name: "Notify Mrs Wonderful"
- pipe: atlassian/slack-notify:0.3.7
MESSAGE: "Deploy complete"

The Slack Webhook works fine, the person receives the message. However, this pipe expects "ok" but receives "200" instead so it fails:

200INFO: HTTP Response:
✖ Notification failed.

The responsible code:

if [[ "${response}" = "ok" ]]; then
success "Notification successful."
fail "Notification failed."


1 answer

0 votes

Hello @Robert Al-Romhein !

Thank you for the reporting, can you tell us for better knowledge, did you meet this problem on earlier versions?

Regards, Galyna

We did not use earlier version as we just started using this pipe. The bug probably occured in earlier versions though, as it seems the response changed from "ok" to "200" as stated by my colleague in the original post.

Like Halyna Berezovska likes this

Hi Galyna, the only other version I've tried was 0.3.6 which I believe has the same code for checking the result of the HTTP request. I've never had a successful deployment since adding this pipe to my pipeline

@Robert Al-Romhein @Erwan d_Orgeville  ok, I think the reason might be curl update. But anyway, we'll fix this issue by adapting to any successful response, thanks for reporting

Like # people like this

Hey Galyna, do you have an estimation of when this fix might be released?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,481 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you