how to deploy production environment
We can do it in 2 way:
From Local
o check in code to Git using pull and push (in my company it is SVN)
o Run unit tests
o Deploy changes to server
§ Done by jenkins automatically every time developer checks in code.
§ After it passes deploy changes to Dev environment
• From Dev environment
o Deploy changes to Test environment done by Jenkins
o Can be scheduled or manually triggered
• From Test à Deploy changes done by Jenkins
• From Pre-production