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
Currently solution for that is to have a final task on your build that will fetch the current status of build and use Github API to update your remote branch status.
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.
Victor
You can also try this plugin: https://github.com/HackAttack/bamboo-github-status
Hi victor how do you fetch the status of the build?
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?
I am not sure how to get this plugin to work. Can you please give me more info on this. The readme is not much help
that helps a little more. My question is would this work even if the build is not finished? I would use this url in the final stage, which is within the build
It looks like you're new here. Sign in or register to get started.