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
Accepted answer

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)

Gonchik Tsymzhitov Community Champion Apr 02, 2018

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

0 votes
Gonchik Tsymzhitov Community Champion 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

Let's vote and comment in Jira issue :) 

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

 

I hope then product managers will answer

Firelight I'm New Here 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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
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