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

Deleting a deployment leads to orphaned artifacts.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.0.4
    • Artifacts, Deployments, Expiry
    • None

    Description

      Issue Summary

      Deleting a deployment project/environment that is consuming an artifact from globalStorage will leave the artifact orphaned on the disk and will be never deleted by the expiry.

      Steps to Reproduce

      1. Create build plan B that shares an artifact.
      2. Create a deployment project DP that consumes the artifact of B and deploy the first build result to a stage in DP.
      3. Build B 4 times and trigger the expiry ( assuming that the expiry will keep last 3 build results and 2 deployments. This will move the first artifact of B to the globalStorage/artifactID).
      4. Delete DP

      Expected Results

      The artifact in globalStorage/artifactID is deleted when the deployment is deleted or during expiry.

      Actual Results

      The artifact in globalStorage/artifactID is never deleted.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sorlovski Zaro
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: