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

This widget could not be displayed.

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.).

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 13 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

67 views 0 8
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