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

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

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 (and more options, like exclude)

+1

 

It will be so nice feature.

 

Cheers,

Gonchik Tsymzhitov

+1

 

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

0 votes

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

Let's vote and comment in Jira issue :) 

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

 

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. 

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

810 views 2 7
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