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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,572 views 0 6
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