Integrating with Jenkins for artifacts and release pipelines
In this section, we will walk through a simple setup demonstrating how to connect Azure Pipelines and Jenkins so that you can download an artifact generated in Jenkins and deploy it via release pipelines.
A Jenkins Job is like an Azure Pipeline, an automated set of steps that executes actions and can produce artifacts or perform deployments. Let’s learn how to create a simple Jenkins job.
Creating a Jenkins job that produces an artifact
This scenario assumes that we have a project called PacktFamily
in a Jenkins server, as shown in the following figure:
Figure 6.13 – A Jenkins instance with a PackFamily project
The configuration for the Jenkins job is very simple in this scenario, solely to demonstrate the ability the download an artifact on the Azure Pipelines side. The following figure shows the build steps for producing artifact.txt
:
Figure...