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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Missing wildcard matching within tasks configured for deployment on Bamboo Edited

Hi Team,

Bamboo states "Could not find file" whenever I use wildcard matching to match the war files with a version number similar to IP address. Doesn't Bamboo support wildcard matching. I verified that my regex works when i use it on Regex matchers like Regex101 but Bamboo complains about file not found though the war file exists.


1 comment

Hi Aisha,

Bamboo artifacts only support Ant file copy patterns not regular expressions.

Kind regards

Like Aisha likes this

Hi Jack,

I have a war file in the format "filename-buildnumber.versionnumber.0.war". I want this war file to be removed before every deployment. How can I match the above file name for this purpose using the Ant file copy patterns?

filename - String

buildnumber - [0-9]

versionnumber - [0-9]

Wondering why do you need to delete this file each time...

Anyway if you need to ensure that your build/deploy plans always execute from scratch you should add the 'Clean working directory task' as the first task of your plan as shown below:




If this doesnt suit your needs,  be aware that you can use a 'Script Task' to run any command on your Bamboo Local/Remote agent to delete the file in the same way you will delete it using a the Terminal.

Kind Regards


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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

168 views 2 5
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