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?
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:
Hope this will help.
Thanks,
Robhit
Thanks Robhit, can you also please share the screenshot of your deployment project artifact downloader?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
My Build plan - shared artifact:
My Deployment Task Artifact download (in the Artifact name I can see "Test BinariesX" artifact which was shared:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.