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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Answered
    • 6.8.1
    • None
    • Artifacts, Expiry
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: