Unable to download artifact Shared artifact: [Artifact_Name], pattern: [*.nupkg]
Asked by Rvn:

Hi,

At the build stage I could able to create shared artifacts and save it in G:\\Bamboo-Artifacts and at the deployment artifact download stage I get "unable to download artifact shared artifact error". Could any one help me with this please?

Deployment: release-2 on Development - Atlassian Bamboo  

|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| 24-Aug-2017 18:55:38 | Build Deployment of 'release-2' on 'Development' started building on agent Default Agent                                                        |
| 24-Aug-2017 18:55:38 |                                                                                                                                                 |
| 24-Aug-2017 18:55:38 | Build working directory is C:\\Users\\Bamboo-home\\xml-data\\build-dir\\1015811-1081347                                                         |
| 24-Aug-2017 18:55:38 | Executing build Deployment of 'release-2' on 'Development'                                                                                      |
| 24-Aug-2017 18:55:38 | Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' |
| 24-Aug-2017 18:55:38 | Cleaning working directory 'C:\\Users\\Bamboo-home\\xml-data\\build-dir\\1015811-1081347'                                                       |
| 24-Aug-2017 18:55:38 | Finished task 'Clean working directory task' with result: Success                                                                               |
| 24-Aug-2017 18:55:38 | Starting task 'Artifacts download' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'              |
| 24-Aug-2017 18:55:38 | Preparing to download plan result DH01-TDC-15 artifact: Shared artifact: \[DH_Artifact\], pattern: \[\*.nupkg\]                                 |
| 24-Aug-2017 18:55:38 | Unable to download artifact Shared artifact: \[DataHub_Artifact\], pattern: \[\*.nupkg\]                                                        |
| 24-Aug-2017 18:55:38 | Task configuration:                                                                                                                             |
| 24-Aug-2017 18:55:38 | artifactId_0 -\> \[-1\]                                                                                                                         |
| 24-Aug-2017 18:55:38 | sourcePlanKey -\> \[DH01-TDC\]                                                                                                                  |
| 24-Aug-2017 18:55:38 | localPath_0 -\> \[\]                                                                                                                            |
| 24-Aug-2017 18:55:38 | Task runtime configuration:                                                                                                                     |
| 24-Aug-2017 18:55:38 | securityToken -\> \[3210b5059498e24b1877c644871647d093030a39\]                                                                                  |
| 24-Aug-2017 18:55:38 | runtimeArtifactIds_0 -\> \[0\]                                                                                                                  |
| 24-Aug-2017 18:55:38 | artifactName_0 -\> \[DataHub_Artifact\]                                                                                                         |
| 24-Aug-2017 18:55:38 | artifactId_0 -\> \[1802241\]                                                                                                                    |
| 24-Aug-2017 18:55:38 | resultKey -\> \[DH01-TDC-15\]                                                                                                                   |
| 24-Aug-2017 18:55:38 | artifactLocation_0 -\> \[\]                                                                                                                     |
| 24-Aug-2017 18:55:38 | localPath_0 -\> \[\]                                                                                                                            |
| 24-Aug-2017 18:55:38 | artifactPattern_0 -\> \[\*.nupkg\]                                                                                                              |
| 24-Aug-2017 18:55:38 | Finished task 'Artifacts download' with result: Error                                                                                           |
| 24-Aug-2017 18:55:38 | Finalising the build...                                                                                                                         |
| 24-Aug-2017 18:55:38 | Stopping timer.                                                                                                                                 |
| 24-Aug-2017 18:55:38 | Build 1015811-1081347-2129924 completed.                                                                                                        |
| 24-Aug-2017 18:55:38 | Finished processing deployment result Deployment of 'release-2' on 'Development'                                                                |


Answers:
author: Rvn
body: It's solved now.

I have recreated the deployment environment and I don't get this error


author: somethingblue
body: Hi Ryan,

* Has the shared artifact worked in the past?
* Does the artifact exist in the shared artifacts directory?
* Are you running this build on a remote agent?

If you are running this on remote agent check the logs there. If you don't find anything there provide screenshots of the configured artifact task for the deployment.

Cheers,

Branden

comments: author: Rvn
body: Hi Branden,

Thanks for your reply.

Answers to your questions as follows:

* This is first time I have configured the job and using the bamboo server
* Yes it does exists
* Yes and I see the same log in logs which I posted her

Thanks