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

How to use bamboo to manager tomcat resource such as context.xml or server.xml while depoyemnt?

Artem K September 1, 2016

We have war application that we need to deploy to Tomcat with different resources such as database connections or services endpoints each time. How we may pass env variables from deployment plan to configure these resources?

Well,  i have tired to describe our environments. We need to switch to current avalaible partner services while deployemnt as shown on image. Now, we generate environment dependent META-INF/context.xml while building our app, but is not flexible. Environment description (endpoints, urls, users, passwords, etc) is stored in maven profiles in pom.xml.

 

schema.jpg

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2016

Can you please describe your current Deployment configuration?

Artem K September 2, 2016

i have updated the original answer

TAGS
AUG Leaders

Atlassian Community Events