RousselTMLEARNING

TP · Azure DevOps: from discovery to expertise

Lab: Self-hosted agent and continuous integration pipeline

What you will learn in this TP
  • Install a self-hosted agent
  • Write a YAML test pipeline
  • Publish test results and artifacts
  • Add build validation
Mode :

All steps and instructions are shown. Recommended for this lab: semi-guided

Introduction #

Context. The new organization has no hosted agent time yet. You install your own agent and set up continuous integration.

Prerequisites: a free Azure DevOps organization, the Azure CLI (azure-devops extension), Git and Python 3, the Lab 1 project, Docker  ·  Estimated time: 45 min

An online agent, a pipeline that publishes test results and blocks failing pull requests.

Setup #

Guided steps, with their solution.

  1. 1. Install the agent

    Why? A self-hosted agent is free and available right away.

    Create a PAT limited to Agent Pools (read, manage), then download, configure and start the agent in the Default pool.
  2. 2. Write the pipeline

    Why? Publishing results makes failures readable in the Tests tab, without reading logs.

    Create azure-pipelines.yml (pytest tests, PublishTestResults@2, artifact), push it and create the boutique-ci pipeline.
  3. 3. Block failing pull requests

    Why? Build validation tests the merge result before it reaches main.

    Add a build validation policy on main with boutique-ci, then open a pull request that breaks a test.

Validate your work

Check that each goal above is reached and that you get the result described in the introduction.

Difficulty level : ●●●○○ (3/5)

My progress

  • ⏱ Estimated time : ≈ 45 min

Sign in to track your progress and take notes. Sign in

⭐ Rate this lesson

5.0 initial rating from the teaching team

Sign in to rate this lesson →

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

Recommended Articles

Arize in production: self-hosted Phoenix, Arize AX, security, costs and monitoring

Going to production: Phoenix with PostgreSQL and authentication, an OpenTelemetry Collector in fr...

Agent policies, integrations, data streams and pipelines

Build agent policies, add integrations (System, Nginx, Custom Logs), choose namespaces, customise...

Azure Boards and Azure Repos: planning and collaborating

Organizing work with Azure Boards (Agile, Scrum, Basic and CMMI processes, work items, backlogs, ...

ClickHouse observability case studies: LogHouse, Qonto and Ringover

Three ways of using ClickHouse for observability, presented in Paris in November 2026: LogHouse a...

End-to-end CI/CD (3/5): artifacts, registries and environments

Deliver continuously: immutable, versioned artifacts, image and package registries, promoting the...

Azure DevOps: services, organization and plans

Discover Azure DevOps: Boards, Repos, Pipelines, Test Plans and Artifacts, organizations and proj...

Azure DevOps security, governance and best practices

Running Azure DevOps securely: permissions and groups, protected resources, pipeline authorizatio...

Continuous profiling with eBPF: Parca, Pyroscope and the OpenTelemetry profiler

Continuously profile every process on a host with eBPF: principle, Parca and parca-agent, Pyrosco...

Installing the Datadog agent and configuring integrations

Install the Datadog agent on Linux, Docker and Kubernetes (Datadog Operator), understand datadog....

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!