Docker Build Pipeline

Currently, the ansible scripts provision a generic Docker build pipeline, with the following layout.

  1. Phase 1
    • GetLatestFromSCM
  2. Phase 2
    • IntegrationTesting
    • UnitTesting
  3. Phase 3
    • PushToDockerHub
  4. Phase 4
    • FunctionalTesting
  5. Phase 5
    • PushToDockerHub-QA
  6. Phase 6
    • DeployToQA

Key Jenkins plugin used:

NB. All plugins and dependencies listed above are all installed using Ansible by default. Also, most of the tools needed to run builds are installed on the docker slaves.

To provision the Jenkins environment with your pipeline of choice, the target_jenkins_env variable should be overridden.

To override, locate the desired override variable file in the provisioners/ansible/roles/shared/vars folder and place the following within the yaml file.

Example

target_jenkins_env: docker # creates a docker pipeline