I am using shared artifacts and then the task Download Artifact -- but it only downloads an artifact from the last successful build.
I need the artifact from the most recent build regardless of whether it passed or failed.
That is not the way Bamboo was designed to work and this is why you will need to do some extra work in order to make it happen.
I would try this:
GET <Bamboo_URL>/rest/api/latest/result/<PLAN_KEY>
GET <Bamboo_URL>/browse/<PLAN_KEY>-<BUILD_NUMBER>/artifact/shared/<ARTIFACT_NAME>/<ARTIFACT_FILE>
I would rather prefer fixing the build and rerunning the same one to make sure the artifacts will be exactly the same and the build is now passing.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.