The Bamboo Build Activity report only presents data about the default branch. Is there a way to get it to include plan branches as well?
Hello,
from Bamboo UI there seems to be no chance doing this. Its options are outlined here: https://confluence.atlassian.com/bamboo/reporting-289276962.html
However, Bamboo's REST API should offer a way, namely this:
/rest/api/latest/plan.json?expand=plans.plan.branches.branch.latestResult
The branch.latestResult node contains the build results for every branch of the plan (except for master), which means you can use this call to get branch results and then use /rest/api/lastest/result.json for the master branch build results.
Hope this gets you further.
Cheers, Gerhard
Thanks, this was incredibly helpful. I took over an older system where no one used the master branch - only development, go figure :) and needed to know when the last builds occurred for each branch to see which were active and which were abandoned. I still need to post-process but this is a great start.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.