Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get agent information of a build by using rest api?

Golla Sai Venkatesh July 20, 2022

I want to know on which agent a build was run using bamboo REST API

I tried with agent assignment API, but it will give the project, plan or job it is assigned to. But I want which agent from set of capability matching agents ran the build?

1 answer

0 votes
Nicolas Mertens November 7, 2022

it should work via https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-result-projectkey-buildkey-buildnumber-get.

buildSummary-Response should include buildAgentId 

But exactly buildAgentId is missing in response (tested with 8.1.6 build 80114)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events