Bamboo build/deployment fails to download artifacts

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.

Summary

Bamboo repeatedly fails to download an artifact from the same plan.

Environment

Any bamboo supported version.

Diagnosis

When a build/deployment tries to download an artifact, the action will fail and in the build/deployment log we will see a message similar to this one:

build/deployment log
simple   08-Feb-2022 11:38:26 Preparing to download plan result PROJ-PLAN-1 artifact: Non required shared artifact: [artifact_name], pattern: [*] anchored at: [artifact_name]
error 08-Feb-2022 11:38:26 Unable to download artifact Non required shared artifact: [artifact_name], pattern: [*] anchored at: [artifact_name]
agent log
INFO   | jvm 1    | 2022/02/08 11:50:02 | 2022-02-08 11:50:02,952 INFO [0-BAM::agent_name::Agent:pool-3-thread-1] [AbstractArtifactManager] Unable to retrieve artifact artifact_name for PROJ-PLAN-1 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@19a898eb No matching Artifact found.

Cause

Bamboo is reporting that the artifact is not available for download. There could be multiple reasons for this, for example:

  • The artifact for the latest build was deleted
  • The artifact for the latest build was tampered with or blocked (i.e. file permissions)
  • Something unexpected changed in the configuration that made the artifact download task obsolete.
  • Other

Solution

The solution of this problem could be solved by simply running a build again to generate the artifact.

Still having problems?

Contact Atlassian Support. We'll be happy to advise you. Please include as much detail as possible, where applicable:

  • Logs from the affected application (if applicable)
  • Screenshots of the error message (if they're not covered in logs)
  • Information about the steps you've taken previously


Last modified on Feb 28, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.