Deployment in multiple environments (DEV, UAT, PROD) in Jenkins

I have a Python application, I want to deploy it first to DEV, then to UAT and finally to PROD. I could build it using Jenkins using Webhooks so that when it clicks on DEV it starts the build (it starts the media). I want this application to be promoted in UAT and PROD afterwards if the build in DEV and UAT goes accordingly. I do not want any manual intervention. Can this be done with Jenkins and how? If not the best alternative?

PS I was thinking about making remote login to my DEV, UAT, PROD servers from my Jenkins server. and starting the build, but I still do not understand how to do this?

+4
source share
2 answers

Best practice would be to use the Jenkins pipeline . You can request a transition between environments using a step and suppose that an asynchronous deployment (I assume) triggers the continuation of the transition to the next stage (environment)

+6
source

One option is to add remote UAT and PROD environments as Jenkins subordinates. Check out this documentation to learn more about it.

node , , : remote_uat. , , , . , jenkins , .

Ta jenkinst UAT PROD DEV, Parameterized Trigger Plugin, .

+1

All Articles