Including multiple expressions with the Artifact copy pattern

Hi,

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.

2 answers

1 accepted

8 votes

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.

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.

Jérôme

Agree. This needs a solution.

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

and support for exclude pattern.  +1

+1

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

+1

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

+1 -> yeay first in 2018

1 votes

+1 pls

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
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,064 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot