It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way that you can run reports in Bamboo that report on build plans with agent details?

We are looking for a way to report on project build plans that can include details such as the agents IP address', server details etc. 

We want to be able to report in Bamboo and include details from the agents such as there IP address, Host name, etc.

Does anyone have or know of any mechanism that can report on agent server details out of Bamboo?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Matt Armstrong,

Bamboo does not have this type of report. What think you could do is:

  1. Parsing the build results to extract any information you need from the agents that is available in the build log
  2. Use the following query to get the agent name and hostname|ip from the Bamboo DB:
    SELECT BR.BUILD_KEY PLAN_JOB ,
    COUNT(BR.BUILD_KEY) N_BUILDS,
    Q.AGENT_TYPE,
    Q.TITLE,
    Q.AGENT_DESCRIPTION
    FROM BUILDRESULTSUMMARY BR
    JOIN QUEUE AS Q
    ON BR.BUILD_AGENT_ID=Q.QUEUE_ID
    GROUP BY BR.BUILD_KEY, Q.QUEUE_ID
    ORDER BY PLAN_JOB, N_BUILDS
    This will give you the number of times a give JOB used a give agent. It may solve your problem if you only want the agent name, hostname|ip.

I hope that helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you