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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,635
Community Members
 
Community Events
176
Community Groups

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
TAGS

Atlassian Community Events