I have a build from a few weeks ago, that I've deployed to Test and now want to deploy to Production, but the artifacts have expired. What's the right way to correct this situation? Should I "Rerun this build"? What the difference between "Rerun this build" and "Run branch"?
I tried "Rerun this build" and it recreated the artifacts. But the deployment still fails with the same error
|09-Jul-2019 14:37:47||java.lang.RuntimeException: Unexpected HTTP status code: HTTP/1.1 500 Internal Server Error|
|09-Jul-2019 14:37:47||Unable to download artifact Shared artifact: [Deploy Folder], pattern: [todeploy.zip]|
Hi @Zoe Hart
You don't need to rerun a build to redeploy its artifacts because Bamboo saves them in a different location called Global Storage if they were deployed at some point in time.
I suspect that your artifacts were manually removed from Global Storage (<Bamboo_Home>/artifacts/globalStorage/<Artfact_ID>).
This document should give you more details about what I'm talking about: Artifacts in Bamboo Server - Atlassian Documentation. You can check the queries there to investigate your artifacts. If you confirm the artifact was removed from Global Storage you could try to put it back.
Please let us know your findings.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events