Build expiry removes all logs

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Build expiry is configured to remove "Build and deployment result logs only", after the expiry runs all the build logs are removed.

Cause

Value of maxIgnoredLogSize is set to -1

Resolution

Edit <BAMBOO_HOME>/xml-data/configuration/administration.xml and put the maximum size of log file which should be ignored during expiry in bytes. Restart Bamboo to apply changes

<AdministrationConfiguration>
  ...
  <myBuildExpiryConfiguration>
    <maxIgnoredLogSize>-1</maxIgnoredLogSize>
Last modified on Jan 20, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.