Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,548
Community Members
 
Community Events
168
Community Groups

When artifacts expire, is Rerun this build the right fix?

Edited

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:47java.lang.RuntimeException: Unexpected HTTP status code: HTTP/1.1 500 Internal Server Error
09-Jul-2019 14:37:47Unable to download artifact Shared artifact: [Deploy Folder], pattern: [todeploy.zip]

1 answer

0 votes

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events