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

How to generate a war file (Atrifact) by a plan build?

dileep Kandimalla January 7, 2015

I am trying to generate a war file by a plan build in Bamboo, while trying to do so couldn't able to create a war file using create definition option in artifacts tab as mentioned in https://confluence.atlassian.com/display/Cloud/Configuring+a+job%27s+build+artifacts.

Can any one help me out with the input to be give at copy pattern tab in-order to generate a war file. 

assume the maven code structure as: TestBamboo

sub directories of TestBamboo : pom.xml, source, target

Now, the code at source should be build and placed in target as war file. 

1 answer

1 accepted

0 votes
Answer accepted
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 7, 2015

I think you're mixing few concepts here. 

To generate WAR file is responsibility of your pom.xml (see Apache Maven WAR Plugin).

What Bamboo can do for you is to pick up generated WAR after the build completes and attach it to the build result so you can use it in other builds/deployments or simply download it from the Bamboo UI.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events