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

Murray Oct 09, 2011

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.

4 answers

1 accepted

11 votes
Answer accepted
Przemek Bruski Atlassian Team Oct 09, 2011

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.

Murray Oct 09, 2011

I see, Thanks.

Alexandru Trifan 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.

Jerome Martin Jun 09, 2014

Hi folks

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

Thanks by advance.

Jérôme

Zacharias Beckman Mar 17, 2015

Agree. This needs a solution.

Roland Ewald Jul 19, 2015

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

Frank Weindel Oct 19, 2015

+1

Oskar Thornblad Nov 12, 2015

+1

Thomas Stilwell Feb 15, 2016

and support for exclude pattern.  +1

Stanley Goldman Mar 01, 2016

+1

Kelly Robinson Mar 04, 2016

+1

Matthias Reinarz Mar 31, 2016

+1

Markus Hartung Nov 03, 2016

+1

Kelly Sonderegger Nov 29, 2016

+20

Swguild Swguild Jan 05, 2017

+1

Joel Schroeder Jan 31, 2017

+1

Frank Schmid Apr 24, 2017

+1

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

Matt Luebbering May 23, 2017

+1

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

Tamas Nagy Sep 07, 2017

+1

Okke Hendriks Oct 17, 2017

+1

Frieder Delor Dec 20, 2017

+1

Lars Niestrad Jan 19, 2018

+1 -> yeay first in 2018

Stephen DiMarco Mar 01, 2018

+1

TIM BECKER Mar 01, 2018

+1 (and more options, like exclude)

Gonchik Tsymzhitov Community Leader Apr 02, 2018

+1

 

It will be so nice feature.

 

Cheers,

Gonchik Tsymzhitov

Chris Cross May 31, 2018

+1

 

yet another 9 jear old request without a solution.

Jason Fitch Oct 11, 2018

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 +∞

Christian Günther Oct 23, 2018

+1

Jeremy Skinner Jan 22, 2019

+1

Sim Hong Chun Jun 05, 2019

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

1 vote
Kiran Muddukrishna Aug 21, 2017

+1 pls

0 votes
Gonchik Tsymzhitov Community Leader Oct 23, 2018

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

https://jira.atlassian.com/browse/BAM-1724

And close this thread 

 

Cheers.

Gonchik Tsymzhitov

0 votes
Gonchik Tsymzhitov Community Leader Oct 23, 2018 • edited

Let's vote and comment in Jira issue :) 

https://jira.atlassian.com/browse/BAM-1724

 

I hope then product managers will answer

Firelight Oct 23, 2018

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. 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

994 views 12 15
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