It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error sharing artifact between projects.

This question is in reference to Atlassian Documentation: Sharing artifacts

I am having some issues when trying to get an artifact from a different plan. The scenario is the following:

  • Plan A has 2 stages: build and test:
    • Build passes successfully and publishes several artifacts.
    • Test fails at some point. As a result Plan A fails.
  • Plan B runs after plan A finishes. the first job in the first stage of plan B is the "Artifact download" one, which tries to download an artifact from plan A (from the build step). The error shown is the following:
Preparing to download plan result CORE-RHEL5X32-7 artifact: Shared artifact: [blah_libraries], pattern: [blah/lib/i86Linux2.6gcc4.1.1/*]
java.lang.RuntimeException: Unexpected HTTP status code: HTTP/1.1 500 Internal Server Error
Unable to download artifact Shared artifact: [blah_libraries], pattern: [blah/lib/i86Linux2.6gcc4.1.1/*]

I double checked that the artifact is there and I can access and copy it using scp to the bamboo server from the bamboo agent.

Is it a requirement that the whole plan (A in this case) passes? Am I not understanding the behavior correctly?

1 answer

0 votes

IIRC artifact downloader task expects that artifacts come from successful result. If tests fail in stage 2, downloader task will not take those artifacts into consideration, as they are considered "broken".

That being said, server responding with 500 Internal Server Error is not a normal behaviour. I suggest you open a support request at Atlassian Support. Please include server logs if you decide to do so.

I am experiencing a similar error (deployment plan stops with a 500 internal server error), but my plan is being triggered after a successful build plan. Has Javier's issue been solved?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

116 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you