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

Re-run expired builds to recover its artifacts does not recover the artifacts for expired releases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Low Low
    • None
    • 6.8.1
    • Artifacts, Expiry
    • None

      Summary

      Re-run expired builds to recover its artifacts should also recover the artifacts for expired releases.

      Steps to Reproduce

      1. Run a couple builds and deploy them to an environment.
      2. Set the "Global Expiry" to delete "Build and release artifacts only".
      3. Run the expiry.
      4. Try to promote an expired release - it will fail as expected.
      5. Re-run the build responsible to provide the artifacts for the release from the previous step.
      6. Try to promote de release again.

      Expected Results

      As the artifacts were recreated, Bamboo should be able to promote the release.

      Actual Results

      Bamboo will not find the artifacts and the release will not be promoted.

      14-Mar-2019 16:09:21	Preparing to download plan result PROJ-PLAN-22 artifact: Non required shared artifact: [artifact_name], pattern: [*.*]
      14-Mar-2019 16:09:21	Unable to download artifact Non required shared artifact: [artifact_name], pattern: [*.*]
      

      Workaround

      Delete and recreate the release
      or
      Increase the expiry time and/or the number of releases to keep

              Unassigned Unassigned
              gribeiro Gabriel Ribeiro
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: