Continuous Integration and Continuous Delivery have become popular practices for application development. The Build Pipeline plugin provides a pipeline view of upstream and downstream connected jobs that typically form a build pipeline, with the ability to define manual triggers or an approval process. We can create a chain of jobs by orchestrating version promotion through different quality gates, before we deploy it in production.
Before starting with the Build Pipeline plugin, let's create a job to deploy into a production environment. We will use the Deploy to Container plugin for application deployment in remote Tomcat.
- Click on
New Item
in the Jenkins Dashboard and give it a name. Click on
:O
K
- Configure a post-build action similar to what we configured in the
PetClinic-Deploy
job:
- Click on
Save
andApply
.
In the next section, we will configure upstream and downstream relationships between all the jobs we have created so far.