Summary
In this chapter, you have learned how to construct a continuous deployment pipeline using Docker, Jenkins, and GitHub. You learned how to establish connectivity between a Jenkins server and multiple host servers through SSH, scripted using a Jenkinsfile
. You learned how to combine those techniques to drive configuration changes and Docker deployments to the production host using Jenkins. You also learned how to set up a second staging environment and use the Jenkins environment variables and credentials support in order to make a single set of scripts deploy to multiple environments. Finally, you learned about the limitations of using Jenkins to manage larger-scale deployments, and when it might be time to reach for other tools to manage continuous deployment.
Now that you have mastered the basics of using Jenkins to build and deploy software to both a production and a staging environment, you can apply this to your own projects. This will help you build and deploy your...