Reputation: 761
We are using the Download Build Artifacts task to download the latest build artifacts, however, we get the following error "Latest build not found" when the task is executed.
The same task succeeds when the "Specific version" option is selected under Build version to download instead of "Latest Build"
Is there a way to fix this issue?
Thank You.
Upvotes: 1
Views: 2140
Reputation: 761
Download Artifacts task checks for successful builds and not partially successful build. Hence the error "Latest build not found", as the build definition only had partially successful builds.
I was expecting the task to download artifacts from the partially successful build, which led to the error.
Resolution: Had to fix the build to be successful rather than being partially successful to download the required build artifacts from another build definition.
Upvotes: 2