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
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
So if I have a test plan running on bamboo and I want to get the status of the build pushed to github every-time I commit and push to the remote branch. Is there a way to do that?
Hello @Dunia Alrabadi, welcome to the Atlassian Community :)
We have an open suggestion for Webhook notification type BAM-14321 that could make your life easier, please follow it for status update as we have it under consideration for next releases.
Hello @Dunia Alrabadi
You may use the REST API with the endpoint /result. The URL you would use looks more or less like this (remember to substitute the <variables> :))
http://<Your Bamboo URL>/rest/api/latest/result/<projectKey>-<buildKey>-latest
Did that help you?
If you run the REST call from inside the build, it will be reported as "In progress". I have some alternatives to this option:
I like that last idea. If I make a variable within the bamboo plan, do different tasks have access to them?
for example if I make a variable STATE = False
if the build gets to the last not final task then i will set the STATE to TRUE. However if it doesn't then in the final task it will see that it is false and push to get hub. Can I do that? Meaning reading and writing a variable within different tasks?