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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

161 views 1 3
Join discussion

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