Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Including multiple expressions with the Artifact copy pattern

Seravy
Contributor
October 9, 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.

6 answers

1 accepted

11 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 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.

Seravy
Contributor
October 9, 2011

I see, Thanks.

Deleted user March 4, 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 June 9, 2014

Hi folks

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

Thanks by advance.

Jérôme

Zacharias Beckman March 17, 2015

Agree. This needs a solution.

Roland_Ewald
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2015

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

Bob Swift (personal)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2015

+1

Frank Weindel October 19, 2015

+1

Oskar Thornblad
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2015

+1

Thomas Stilwell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2016

and support for exclude pattern.  +1

Stanley Goldman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2016

+1

Kelly Robinson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2016

+1

mreinarz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2016

+1

Markus Hartung
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2016

+1

ksondere
Contributor
November 29, 2016

+20

Swguild Swguild January 5, 2017

+1

Joel Schroeder
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2017

+1

Frank Schmid
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2017

+1

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

mluebber
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2017

+1

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

Tamas Nagy September 7, 2017

+1

Okke Hendriks October 17, 2017

+1

FDelor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 20, 2017

+1

Lars Niestrad January 19, 2018

+1 -> yeay first in 2018

DiMarco
Contributor
March 1, 2018

+1

TIM BECKER
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2018

+1 (and more options, like exclude)

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 2, 2018

+1

 

It will be so nice feature.

 

Cheers,

Gonchik Tsymzhitov

Chris Cross
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2018

+1

 

yet another 9 jear old request without a solution.

Jason Fitch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2018

+1

Jeremy Skinner January 22, 2019

+1

simhong
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2019

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

Joeran ZELLER
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 22, 2020

+1

Emanuel Mutschlechner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2021

+1

2 votes
Deleted user August 4, 2020

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.

 

+1

1 vote
Kiran Muddukrishna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2017

+1 pls

0 votes
Brian Davey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 21, 2020

+42

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 23, 2018

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
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 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. 

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events