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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I want to find a inventory of all the builds that are currently running on my Bamboo installation.
Also I would like to know the linked repository for these build jobs.
[ if it is already documented then do please point me in the right direction. I am newbie to bamboo. ]
you might want to use rest api for that one.
/rest/api/latest/plan - list all bamboo plans
iterate the result then per plan get the latest build result like
/rest/api/latest/result/{bamboo plan key here}/latest?expand=vcsRevisions.vcsRevision,plan.stages.stage.plans.plan
iterate the result again and if there's a result for vcsRevisionKey, then that should be linked to a repo and dig to vcsRevision and you'll find the repository name.
hope that'll give you on what you're looking for
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.