Create the Azure DevOps Pipeline

Get introduced to the pipeline and learn how to create one.

To execute the automated tests from the code hosted in the Azure DevOps repository, we need to go through the following steps:

  1. Select the branch of the repository to work with. By default, the master branch is used.
  2. Select a virtual machine where the tests will run.
  3. Get the code from the repository and copy it on the virtual machine.
  4. Remove the temporary files from previous executions.
  5. Compile the automation code.
  6. Execute the automation tests.
  7. Prepare the automation test results. The pipeline is where all these take place.

What is a pipeline?

A pipeline is a collection of steps or tasks that can be executed sequentially or in parallel.

A pipeline has one or multiple jobs, each with one or more steps.

The pipeline details are described in a YAML file that is stored in the same repository as the code.

Create the pipeline

To create the pipeline, you need to follow the following steps:

Get hands-on with 1200+ tech skills courses.