Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17847

Dont remove logs from failed deployments if is included by Minimum to keep

    XMLWordPrintable

Details

    Description

      Summary

      Failed logs can be extremely important as the logs for a successful deployment. Bamboo seems to expire these currently even when a deployment falls under "Minimum Deployments To Keep".

      Environment

      Bamboo 5.12.X
      Bamboo 5.9.X

      Steps to Reproduce

      1. Set the global expiration settings to:
      Expire After: 0 days
      Min builds to keep: 3
      Min deployments to keep: 3
      2. Run a few deployments, then for the last 3 have one fail and 1 sucessful.
      3. Manually run Expiraiton.

      Expected Results

      Most customers would expect that all logs should be preserved as the deployments have been preserved.

      Actual Results

      Deployments beyond the minimal 3 are correctly deleted. However, the logs for the failed builds are cleared - but the successful build is kept.

      Workaround

      Not ideal, but extend the value for Expire After the logs for longer.

      Attachments

        Activity

          People

            mgardias Marcin Gardias
            nhickey Neil Hickey
            Votes:
            12 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: