Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,261
Community Members
 
Community Events
168
Community Groups

How to get build status in a Bamboo build task script?

Hello,

I would like to call the github API at the end of the build in order to tell him if the build was successfull or not.

I've created a final task for this but I can't find a bamboo variable who contains the build state.

Could you help me?

Thanks :)

Hélène

2 answers

1 accepted

3 votes
Answer accepted

Okay so I found the perfect variable (undocumented) : `bamboo_jobFailed` :)

Exactly what I wanted. Thanks @Hélène_Droal 

0 votes

I would suggest to install this plugin: https://github.com/HackAttack/bamboo-github-status

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events