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?