Implementing a Deployment Pipeline with Jenkins

From Logic Wiki
Jump to: navigation, search


Deployment Pipeline

Here we will build a very basic deployment pipeline using the Jenkins Continuous Integration Server and the Build Pipeline Jenkins plugin.

This basic pipeline will consist of a number of jobs:

  • Build the artifact
  • Acceptance testing
  • Deploy to Staging
  • Deploy to live

Some of the gates between jobs will be automatically triggered and some will be done manually using the Build Pipeline View. Please note the purpose of this post is to illustrate the process of creating a pipeline, the details of building artifacts, performing acceptance testing, automated deployment, etc will be saved for future posts.

Prerequisites

Build Job

The first job in your pipeline is usually responsible for setting the version number, building the artifact and deploying the artifact to an artifact repo. The build task may also include running unit tests, reporting code coverage and code analytics.

The first task is to create a new job as below: