DEV Community

Discussion on: Ways to deploy code to production server (linux server) with jenkins ?

Collapse
 
hongduc profile image
Hong duc

It seem like I quickly jump to conclusion :) . My point is that I want to know what other ways than using svn to deploy code. It just that I want to know more so that I can choose the one that more fit in my workplace. Thanks

Collapse
 
digianpaul profile image
Paul DiGian

It really depends on your environment and what you are doing and how. In my opinion in standard environments the first step is to contenerize the application during CI/CD.

You commit / release a tag and automatically you get a container. You run the unittest inside the container and the integration test against the container. If everything is green you deploy the new container.

But this is only one approach, whatever you decide to do, is important to make sure it works well also with the cloud provider you are using.

Without more information is hard to help...

Thread Thread
 
hongduc profile image
Hong duc

Thanks. I will rethink every thing again to be more clear :)