Using Jenkins Pipelines with Docker
The Pipeline Plugin for the Jenkins Continuous Integration system enables you to define jobs in code, and store them as files within your source code repositories. Version 2 of Jenkins includes Pipeline as standard, and it is easy to add Docker support.