Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Including multiple expressions with the Artifact copy pattern


I am trying to copy multiple extensions in a artifact definition. It says to 'Specify the name (or Ant file copy pattern) of the artifact(s) you want to keep. e.g. **/*.*' but the link to the ant file copy pattern seems vauge as what I want to achieve only gives XML examples.

Say i wanted to copy all the dll, wixlib and sql files from a directory but not the x00mb test files how would I go about it?

I tried things like: **/*.dll,**/*.wixlib,**/*.sql

But the log just shows: Unable to publish artifact [xx]: unable to find files matching [**/*.dll,**/*.wixlib,**/*.sql] in directory C:\p4depot\xx\Output

So i cant but help to think my syntax is wrong. I'd really rather not have to modify files in that directory prior to the artifact gathering step.

Hoping this is a simple one.

6 answers

1 accepted

11 votes
Answer accepted

At present, Bamboo does not support multiple copy patterns per artifact. You have to either sepcify multiple artifgacts or copy your files into a separate directory specifially for artifact publishing step. You can do it by writing a script task.

I see, Thanks.

Deleted user Mar 04, 2014

Has this changed in newer versions of Bamboo (5.4)?

This, and also the capability to selectively download files from an artifact.

Hi folks

I'm agree with Alex. We need evolution about artifact functions.

Thanks by advance.


Agree. This needs a solution.

+1 Multiple ant patterns per artifact definition would be quite useful.

and support for exclude pattern.  +1


I even tend to give +6 as this issue is now open for 6 years :-(


4 votes in 2017 alone. Probably time to implements. 6.01 release?

+1 -> yeay first in 2018

+1 (and more options, like exclude)



It will be so nice feature.



Gonchik Tsymzhitov



yet another 9 jear old request without a solution.

hahaha... so true.  so many tickets like this.


atlassian:  "hey, so, we responded that we couldn't do that.  we're done here, right?  right."


oh yeah, and +∞

+1 It would be good to also have the option to disable default exclude files from ant pattern

Over 9 years of requesting a feature that would take a day or two max to implement... and they wonder why Jenkens is gaining market share.



Let's vote and comment in Jira issue :)


I hope then product managers will answer

Thanks for the link.

It's interesting how that Bamboo issue predates this question. Why couldn't the Atlassian representative have linked this Bamboo issue. In saying that their response was so rushed as to have three spelling mistakes (specify*, artifacts*, specifically*) in a total of 40 words. It says a lot about how Atlassian deals with customer complaints and questions. 

0 votes

May be it will be more correct if we vote here:

And close this thread 



Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you