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
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

466 views 2 5
View question

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