Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Praveen Vemula January 15, 2018

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?

1 answer

0 votes
robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2018

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: test
simple 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

Hope this will help.

 

Thanks,
Robhit

Praveen Vemula January 15, 2018

Thanks Robhit, can you also please share the screenshot of your deployment project artifact downloader?

Praveen Vemula January 15, 2018

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 BinariesX
simple 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-1114113
simple 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: Success
simple 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.pngMy Build plan - shared artifact:

Build-2.png

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

Deploy-2.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events