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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,584 views 0 6
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