Summary
Re-run expired builds to recover its artifacts should also recover the artifacts for expired releases.
Steps to Reproduce
- Run a couple builds and deploy them to an environment.
- Set the "Global Expiry" to delete "Build and release artifacts only".
- Run the expiry.
- Try to promote an expired release - it will fail as expected.
- Re-run the build responsible to provide the artifacts for the release from the previous step.
- 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