Unable to download artifact Shared artifact: [Test Binaries], pattern: [**/*.exe]
Asked by Praveen Vemula:

I have a plan that successfully builds and shares an artifact. I then created a deployment project to download a artifact, I can see the shared artifact but when I run deploy I get

Unable to download artifact Shared artifact: \[Test Binaries\], pattern: \[\*\*/\*.exe\]

I have gone through all the community links but unable to get this working?

Is there a bug in Bamboo or am i configuring differently. Can anyone show a working example screenshots of both the artifact being shared and download artifact task to see if I am missing anything?


Answers:
author: robhit
body: Hi Praveen,

Thanks for your question!

Below is an example:

Build Log:

```
simple 16-Jan-2018 00:51:11 Running post build plugin 'NCover Results Collector'simple 16-Jan-2018 00:51:11 Running post build plugin 'Artifact Copier'simple 16-Jan-2018 00:51:11 Publishing an artifact: testsimple 16-Jan-2018 00:51:11 Finished publishing of artifact Shared artifact: [test], pattern: [**/*.txt] in 6.205 ms
```

Deployment Log:

```
16-Jan-2018 00:53:33 Starting task 'Artifact download' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
16-Jan-2018 00:53:33 Preparing to download plan result ATP-ATA-47 artifact: Shared artifact: [test], pattern: [**/*.txt]
16-Jan-2018 00:53:33 Artifact [test] downloaded successfully in 6.315 ms to working directory
```

Screenshot:

![Screen Shot 0030-01-16 at 12.58.58 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/12624i6E91104D7E8BBD45/image-size/large?v=v2&px=999 "Screen Shot 0030-01-16 at 12.58.58 AM.png")

Hope this will help.

Thanks,  
Robhit

comments: author: Praveen Vemula
body: Thanks Robhit, can you also please share the screenshot of your deployment project artifact downloader?


author: Praveen Vemula
body: My Build Log:

```
simple 15-Jan-2018 17:29:12 Running post build plugin 'NCover Results Collector'simple 15-Jan-2018 17:29:12 Running post build plugin 'Artifact Copier'simple 15-Jan-2018 17:29:12 Publishing an artifact: Test BinariesXsimple 15-Jan-2018 17:29:12 Finished publishing of artifact Shared artifact: [Test BinariesX], pattern: [**/ConsoleAppNetStd.exe] in 14.88 ms
```

My Deployment Log:

```
imple 15-Jan-2018 17:29:48 Build working directory is C:\Users\Administrator\bamboo-home\xml-data\build-dir\1048577-1114113simple 15-Jan-2018 17:29:48 Executing build Deployment of 'release-1' on 'QA'simple 15-Jan-2018 17:29:48 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'simple 15-Jan-2018 17:29:48 Cleaning working directory 'C:\Users\Administrator\bamboo-home\xml-data\build-dir\1048577-1114113'simple 15-Jan-2018 17:29:48 Finished task 'Clean working directory task' with result: Successsimple 15-Jan-2018 17:29:48 Starting task 'Download RC' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'simple 15-Jan-2018 17:29:48 Preparing to download plan result TEST-TES-8 artifact: Shared artifact: [Test BinariesX], pattern: [**/ConsoleAppNetStd.exe]error 15-Jan-2018 17:29:48 Unable to download artifact Shared artifact: [Test BinariesX], pattern: [**/ConsoleAppNetStd.exe]
```

My Build Plan - 1:

![Build-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/12627iCDB4617EE68E8FE1/image-dimensions/435x335?v=v2 "Build-1.png")My Build plan - shared artifact:

![Build-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/12628i2BE1E29EC0DC166C/image-dimensions/720x274?v=v2 "Build-2.png")

My Deployment Task Artifact download (in the Artifact name I can see "Test BinariesX" artifact which was shared:

![Deploy-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/12629iBFE4B4C5D0B7C456/image-dimensions/471x318?v=v2 "Deploy-2.png")


Tags: bamboo-administration