Creating multiple jobs
Sometimes, when you create a build pipeline for an application that requires building its code for different operating systems simultaneously, you need to create another job for that purpose. There are two job types – agent job and agentless job. An agent job is a job that needs to run on an agent or target computer, and an agentless job will run on the Azure DevOps application server directly. The following steps describe how to create other agent jobs under a build pipeline:
- Edit a build pipeline by clicking on the … symbol and then on Edit:
Figure 2.20 – Editing a build pipeline
- Click on the ... button and select Add an agent job:
Figure 2.21 – Adding an agent job
- Click on Agent job and update the job information as follows:
- Display name:
Agent
job 2
- Agent pool: Azure Pipelines
- Agent Specification: ubuntu-latest
- Display name:
Figure...