Is it possible to know on which agent a build was run from bamboo REST API?
HI @Kaushik Veluru
Here is the Bamboo server rest API documentation please have a look at it, Maybe it will help you to get the Agent details.
Hi @Yogesh Mude
I did look at the documentation. When I query for a particular build result key, the response JSON doesn't have any information about the agent it ran on. So was wondering if there is any other to get the agent context from build result.
Tyr to use the Agent assignment, It will provide you the list of agent for that particular Environment.
Thanks for your reply. https://docs.atlassian.com/atlassian-bamboo/REST/6.5.0/?_ga=2.242641030.542479807.1528216545-169502281.1503517115#d2e2088I have looked into the agent assignment. What is the 'executorId' here? How do I get that information?
Thanks.
In Bamboo, the build will run through the Executables nothing but the Agent.
So please check the Executable ID and pass it, and see the result.
Ex: for java project build using Maven we need to add the Task like Maven build in this case we need to add/provide the maven path ie nothing but the Executable.
It looks like you're new here. Sign in or register to get started.