Deployment fails if artifact download includes images

We have a simple build plan. It has a single job, that checks out all source code.

I then created a number of artifacts, for CSS, PHP, HTML, JS and JSON files. The copy pattern on these artifacts is: **/**.js or **/**.php

I then have a deployment project, that deploys all these artifacts, via an SCP task to an ubuntu machine.

This works just fine for the listed files. However, as soon as i create an artifact for .png or .jpg files using the same copy pattern (**/**.png), and add this artifact to the deployment, the artifact download task fails to download the .png artifact:


21-May-2016 13:34:03Unable to download artifact Shared artifact: [PNG Files], pattern: [**/**.png]


What would cause bamboo to specifically not be able to download an artifact containing .png files?\






1 answer

Huh - weird - what does the error message say?

It sounds like your release is a web-app - what we've done in situations like this is have the release job zip up the stuff that constitutes the release and have the deployment project scp the zip to the target server and ssh it into place. 

Hi Rich thanks for your suggestion. Actually I had the wrong information, i've just updated the original question accordingly. Its actually the artifact download that fails, as soon as I include the .png artifact. It doesnt even make it as far as the SCP task. Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

73 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you