another server specification question.

Suppose I have Bamboo running on a linux box with some local agents. In addition, I have two remote agents, one running on another linux box, and one running on a windows box.

1. During the time a build is running on a remote agent (windows or linux), where are the build logs stored?

On the remote agent?

On the bamboo server?

2. After the build has completed, where are the logs?

Only on the bamboo server?

On both the bamboo server AND the agent?

2 answers

1 accepted

Accepted Answer
0 votes

Build logs are transferred from the agent to the server on the fly (line by line, but multiple log lines emitted in short succession are transferred together in a single message).

There is no serparate log download at the end of the build.

On agent side, there's a separate log containing runtime information about agent (starting of builds, artfacts transfers etc.).

Furthermore, there is Plan configuration to indicate whether the working directory for the build should be cleared after the build finishes. If you have NOT selected this, the working dir for the build will linger on the agent (on its BAMBOO_HOME/xml-data/builds) directory.

Any artifacts that you mark as shared and the logfile for the build itself get sent back and are stored by the server as Przemek mentioned. On the server side, build results, artifacts and logs can be culled by configuring the Build Expiry settings on the Admin interface.

If you look carefully at the output for your build it will tell you what working directory it is using. When you configured the agents you should know where you set their BAMBOO_HOME. All the relevant files are there.

Of course, if your build generates any files on its own or redirects output (not captured by STDOUT) Bamboo is not going to know about that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

482 views 0 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you