Jenkins auto deploy

beardog1113 used Ask the Experts™
Dear All
        i use Jenkins+maven+tomcat+SVN for my work. i have Development environment and production environment. the configure is different between this 2 environment. for example, in Development environment, the database connect to, in the production environment, the database connect to it will be configured use in the program code. my question is , how can i set this configuration when i building it in jenkins?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You can use EnvInject plug-in for jenkins.

Inject environment variable after post-checkout or prior to build.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial