lundi 29 juin 2015

Best practice to build a CD pipeline to deploy application to different environments

Currently I'm trying to build a CD pipeline for our application, which is a typical Maven J2EE project and we'll deploy a war to Tomcat container.

Our plan for the CD pipeline looks like this:

CI(Run UT and build the WAR) -> Deploy to DEV -> Deploy to SIT -> Deploy UAT -> Deploy PROD

To follow the best practices of CD, we only build the binary(war) once in the CI phase, but we have some configuration files which are different for each environment, so what's the best way to put the related configuration files for each environment during the deployment phase?

We're using Jenkins and the build-pipe-line plugin to build the pipeline, are there any recommended plugins to make this happen?

Thanks.

Aucun commentaire:

Enregistrer un commentaire