ADO Local Pre-release

Manual

Pipelines and releases

Watch a Run as it happens, run a Pipeline with its parameters, approve what waits for you, and see what's deployed where. Then look further: how a Pipeline has been doing, which tests fail, the variable groups and agent pools behind it, the packages it publishes, and classic releases with what's ready to ship.

Pipelines

Each synced Project has Pipelines in the sidebar. Under it are the Pipelines you've starred as favourites, so the ones you watch are a click away. Click Pipelines itself to see them all.

A Project's Pipelines listed by folder, each with its last Run's result, number, branch, who it was for and when, and tabs for My runs, Favourites, Waiting for me, Environments, Library and Agent pools
Pipelines by folder, each with how its last Run went. The tabs along the top lead to the rest of this chapter.

The tabs along the top choose what's listed:

Click a Pipeline to open it. It has three tabs: Runs, its Runs with their result, number, branch, who they were for, when they were queued and how long they took (filter them by branch or result); Tests; and Health. The star beside its name makes it a favourite.

Personal Access Token

Pipelines need Build (Read & execute). With Read alone you can watch Runs but not start, cancel or approve them.

A Run

Click a Run to open it. Its header has the Pipeline's name, the Run's number and how it stands (Running, Succeeded, Failed, Partially succeeded, Canceled), and under it the branch, the commit, the reason it ran (continuous integration, a pull request, a schedule, by hand), who it was requested for, when it was queued and how long it has taken.

The Run has two tabs: Stages and logs, and Tests.

A running Run: its Stages, Jobs and Steps on the left with their times, and the running Step's log on the right, Live, with a search for module showing 3 of 22
Stages, Jobs and Steps on the left; the chosen Step's log on the right, following the Step while it runs.

Stages, Jobs and Steps

On the left is the Run's timeline: its Stages, each Stage's Jobs and each Job's Steps, with how each went and how long it took. Fold a Stage or Job away with its arrow. Summary at the top shows the Run's overview: anything waiting for approval, its tests and coverage, and the commits and Work Items it brought. A Work Item opens beside it in a panel.

The log

  1. Click a Step to show its log on the right, with line numbers.
  2. To find something, type in the search box above the log. Matches are marked, the box says which of how many you're on, and ↑ and ↓ beside it go to the one before or after.
  3. While a Step is running, its log follows it as it prints. Live above the log says it's following the end; click it to stop and read back, and again to follow the end once more.

Whether a running log is followed is remembered for next time.

Cancel, retry and run again

The button at the end of the header opens the Run on the website. A build linked from a Work Item's Development section opens here as a Run.

Run a Pipeline

  1. Open the Pipeline and click Run pipeline.
  2. Choose the Branch to run.
  3. Set its Parameters. They're read from the Pipeline's YAML, including YAML templates it uses, even ones in other repositories, so each shows as it should: a list to choose from, a tick box, a number or text.
  4. Under Stages to run, untick any Stage to leave out of this Run.
  5. Change any Variables the Pipeline lets you set at queue time.
  6. Click Run. A message says it's queued, with the Run's number.
Run contoso-web CI: a branch, parameters (an Environment list, a tick box and a number), Stages to run with Deploy unticked, and a logLevel variable
Run pipeline: a branch, the YAML's parameters, which Stages to run, and its variables.

Approvals

When a Stage is waiting for you to approve it, a desktop notification says so, the tray and Dock count it, and it's listed under Waiting for me. On the Run, the Stage shows Waiting for approval, with the instructions the approvers were given and who can approve.

  1. Open the Run and click Approve or reject…, on the Summary or beside the waiting Stage.
  2. Read the instructions, and add a comment if you want.
  3. Click Approve to let the Stage go on, or Reject to stop it.
Approve contoso-api deploy: the approvers' instructions, how many approvals it needs and who the approvers are, a comment, and Cancel, Reject and Approve
Approving a Stage, with the instructions its approvers were given.

The dialog says how many approvals the Stage needs: when one approval lets it go on, yours is enough. An approval you can't give (you started the Run, and the check doesn't allow that) says why.

Environments

The Environments tab lists the Project's Environments with their description, who created them and when they last changed. It has two views: List and What's deployed. Which one shows is remembered.

The Environments tab's list: dev, production and staging, each with its description, who created it and when it changed, and New Environment
The Project's Environments. Click one to see its resources, deployments, and approvals and checks.

Click an Environment to open it. It shows:

Make, change and delete an Environment

Approvals for an Environment

An Environment's Approvals check is added, changed and removed here.

  1. Open the Environment and click Add approvals (or the Approvals check to change it).
  2. Under Approvers, Add a person or group. Remove one with its ✕.
  3. Choose Who must approve: any one of them, or any two, three or more of them.
  4. Set Times out after: how long a Stage waits before it fails.
  5. Tick Approvers may approve runs they started themselves if they may.
  6. Write Instructions for approvers: what to check first. They show to whoever approves.
  7. Click Add approvals (or Save, when you're changing it). To take the check away, use Remove the approvals on the Environment.
Approvals for qa: two approvers, Who must approve set to Any one of them, a timeout of 3 days, an unticked box for approving runs you started, and instructions for approvers
An Environment's Approvals check: who approves, how many must, how long a Stage waits, and what they should check.

Other kinds of check (business hours, a query to Azure Monitor, a required template and so on) are listed with Configure on the website, and Other checks on the website opens the Environment there to add one.

Permissions

What you can change depends on your role on the Environment: Administrator, User or Reader. Whatever your role doesn't allow is greyed out, and says why. A Personal Access Token needs Environment (Read & manage).

What's deployed

What's deployed, beside List on the Environments tab, has a row for each Pipeline that deploys, with the Run that's in each Environment it deploys to: the Run that landed there last, who asked for it, when it got there and its branch.

What's deployed: three Pipelines, each with its Run in staging and production; one production marked 1 behind staging, one Environment with Nothing deployed yet, a failed later Run under staging, and a What it brought link
Each Pipeline's Run in each Environment, staging before production.

A Run opens as a Run, and an Environment's or a Pipeline's name opens it. Filter by Pipeline or Environment narrows the rows by either's name.

What it brought

Where a Pipeline's Run in an Environment replaced an earlier one, the cell has What it brought: the commits between the two Runs and the Work Items linked to them, newest first.

What 20261018.3 brought to staging: 4 commits and 2 Work Items the earlier Run didn't have, a note that the two Runs were built from different branches, and Copy as Markdown
What a deployment brought: its Work Items and commits, to copy as Markdown.
Needs a connection

What's deployed is read from Azure DevOps each time it's shown (up to each Environment's newest 300 deployments) and says when that was, which Environments have more, and what it couldn't read. It doesn't read itself again while you look, and nothing is kept. It covers one Pipeline's Runs at a time: what another Pipeline deployed to the same Environment isn't in it, and a classic release's Stages aren't either.

Pipeline health

A Pipeline's Health tab, beside Runs and Tests, shows how its completed Runs went over the last 14, 30 or 90 days. Choose the period at the top right. A sentence heads it, such as “5 of 11 Runs succeeded in the last 30 days (45%)”.

Pipeline health over the last 30 days: Succeeded 45%, A Run takes 5m 30s, Waits to start 21s; Runs week by week, what started them, the Steps that fail most and the Steps that take longest
Health: three figures, then the period week by week, what started the Runs, and the Steps that fail most and take longest.

The three figures

Below them

Personal Access Token

Health comes from Analytics, so a Personal Access Token needs Analytics (Read). It's read when opened and isn't kept for offline. Analytics is a few minutes behind the newest Runs and has none that are still going. For a Pipeline with more than 2,000 Runs in the period, the newest 2,000 are read, and it says how far back they go.

Test Results

A Run's Tests tab (and Tests on a classic release's Stage) shows every Test Result it published, as a tree: each Test Run, then its namespaces, folders, classes and files, then its tests in the order they ran. The tab counts what failed.

A Run's Tests tab: chips for 4 failed, 5 not run and 219 passed, the tree of Test Runs and namespaces with their counts, and a failed test's history, error message and stack trace
The tree of Test Results, and a failed test with its history, error message and stack trace.

File a Bug for a failure

Before you file one, a chosen test shows the Bugs for this test: the ones on this Test Result, and the ones on the test's other Test Results over the last 60 days, each with its State and who has it.

A failed Playwright test with Bugs for this test: Bug 4544 is already open for this test, with Add this failure beside it, and Create Bug below
A Bug is already open for this test, so the failure can be added to it rather than filed again.

A test that passed says when a Bug is still open for it. Bugs that can't be read (deleted, or in an Area you can't see) are counted, so a test with a Bug doesn't look as if it has none. Create Bug waits until the Bugs have been looked for.

Tip

Test Results are read when the tab opens and aren't kept for offline.

Test history

The chosen Test Result has a History: how that test did in its Pipeline's Runs over the last 90 days, the newest 30 as a strip of marks, oldest first, with the Run you're on outlined. A failure stands taller than a pass, and a Run the test wasn't run in is a low outline.

A failed test's History: Failing for 3 Runs in a row, since 20261027.1, over a strip of green and red marks, and messages that the failure was added to Bug 4544 and Bug 6004 was made
“Failing for 3 Runs in a row”: the test's last Runs as a strip of marks.

Above the strip is what to make of it:

Rest the pointer on a mark to see its Run, outcome, time and branch; click it to open that Run's Tests. The strip is one Tab stop, and ← and → go along it. A test that ran more than once in a Run counts as its worst result there, so one that failed and then passed on a retry counts as failed. With older Runs out of sight, a long failure is “at least” so many Runs.

A Pipeline's Tests tab

Each Pipeline has Tests beside its Runs: over the last 14, 30 or 90 days, the tests that fail most (how many times out of how many, and the share) and the ones that take longest each time they run. A row opens to that test's history.

A Pipeline's Tests tab over the last 30 days: Fail most, with one test opened to its history, and Take longest, one marked Flaky 3
The tests that fail most and take longest, over the period chosen.

A test that fails every time and one that fails now and then are told apart by that share and by their histories. Nothing here decides a test is flaky beyond Azure DevOps' own Flaky mark, which the rows count. It counts Runs on every branch, pull requests' included.

Personal Access Token

Test history and the Tests tab come from Analytics, so a token needs Analytics (Read). Analytics is a few minutes behind the newest Run (the Run you're on is added from its own Test Results). Nothing is kept on this computer, and a classic release's Stage has no history.

The Library

The Library tab lists the Project's variable groups. Find a variable group looks through a group's name, its description and its variables' names (never their values). Choose a group to see its variables and their values.

The Library: contoso-web staging compared with contoso-web production, a sentence adding up the differences, and a table of what isn't the same, each variable's value in both and how it stands
Two variable groups compared: only what isn't the same.

Compare two variable groups

  1. Choose the first group.
  2. In Compare with, choose the other.
  3. Read the sentence that adds it up, for example “1 only in staging, 1 only in production, 2 differ, 1 is secret in only one and 1 is the same.”
  4. Below it, a row for every variable either has, matched by name whatever its case: which are only in one, which differ (and when it's only by spaces at the start or end, which don't show), which are the same, which are secret in only one, and which can't be compared because they're secret in both.

It starts with Only what isn't the same; click it to see every variable. Typing to find another group doesn't change the one you've chosen.

Needs a connection

The Library is read from Azure DevOps each time it's shown and is never kept on this computer. It's for reading: variable groups are changed in Azure DevOps. Secure files aren't shown. A Personal Access Token needs Variable Groups (Read).

Agent pools

The Agent pools tab lists the pools the Project's Pipelines can run on, its own before the Microsoft-hosted ones. Use it to see why Runs are waiting to start. Each pool says how it stands, such as “2 of 3 online · 1 waiting”, and one with jobs waiting and no agent online and enabled says nothing can run.

Agent pools: contoso-deploy chosen, its one agent offline so nothing can run, two jobs waiting the longest for 17h 55m, and the last job that succeeded on deploy-01
A pool where nothing can run: its one agent is offline, and two jobs are waiting.

Choose a pool to see:

A pool belongs to the organization, so a job of a Run in another Project says which; a job of a Run in a Project you sync opens the Run. A Microsoft-hosted pool shows its jobs but no agents, since Azure DevOps makes those as they're needed.

Needs a connection

Pools are read from Azure DevOps each time the tab is shown, and again with the refresh button; what's said is as it stood then. Nothing is kept on this computer. It's for reading: agents are enabled, disabled and removed in Azure DevOps. A Personal Access Token needs Agent Pools (Read).

Artifacts

Each Project in the sidebar has Artifacts: its feeds, the Project's own before the organization's. When there's more than one, choose a feed from the menu at the top. Artifacts opens on the feed you last showed in that Project, and it's under Go to in the command palette.

Artifacts: the contoso-web feed's packages, and the npm package @contoso/ui chosen, with its install command and Copy, its versions with their views and a deprecated one, and what 5.0.0 needs
A feed's packages, and a package's versions with the command that installs it.

Find a package

A package

Choose a package to see:

The button beside the package's name opens it in Azure DevOps.

Needs a connection

Artifacts is read from Azure DevOps each time it's shown and never kept on this computer. It's for reading: packages are published, promoted, unlisted and deleted with their own tools or in Azure DevOps. A Personal Access Token needs Packaging (Read).

Classic releases

Each Project's Releases in the sidebar lists its classic release pipelines, by folder, with your favourites first. Each row has its latest release, how each of its Stages stands, its readiness and when it was created. Star one to make it a favourite.

Release pipelines by folder, a favourite at the top, each with its latest release, its Stages' states such as Succeeded, In progress, Not deployed and Waiting for approval, and its readiness
Release pipelines by folder, with each one's Stages and readiness.

Click a release pipeline to see its releases, newest first, with their Stages and readiness. Click a release to see it: its pipeline, who created it and why, its description, its artifacts and their versions, the releases before and after it, and each Stage with its approvals, deployment steps and task logs.

Release-31 of checkout-api: its details and artifacts, the release before it, a Not ready line naming the open PBIs and Bugs, and its PBIs, tests and Bugs
A release: what it's made from, and whether its Work Items and tests say it's ready.

Create a release

  1. Open a release pipeline and click Create release.
  2. Under Artifacts, choose each artifact's version: its builds or commits, newest first.
  3. Under Stages, ticked Stages deploy by themselves, as the release pipeline's triggers say. Untick one to deploy it by hand in this release.
  4. Write a Description, and click Create.
Create a release of contoso-web: a build and a Git artifact's versions, Dev and QA ticked to deploy by themselves, Production deployed by hand, and a description
Create release: each artifact's version, which Stages deploy by themselves, and a description.

Variables and other choices are as the release pipeline sets them; change those on the website.

Act on a release

On a release, each of these asks for a comment, and goes straight to Azure DevOps:

What you may do is asked of Azure DevOps first; an action you can't take is greyed out and says why. Release approvals waiting for you count on the tray and notify you like a Pipeline's.

Task logs

A running task's log shows once the task finishes. Classic releases don't send their logs as they're written.

Personal Access Token

A token needs Release (Read) to read releases, and Release (Read, write, execute & manage) to act on them.

Release readiness

Each release pipeline marks its newest release whose PBIs are all done: Ready: Release-28, say. That means every PBI linked to the commits and pull requests since the last release that reached the final Stage (such as Production) is done, with Tasks rolled up to their PBI, the Bugs tied to them are closed, and their tests have passed. A release that isn't ready says why, such as “Not ready: 2 PBIs open”.

Release pipelines with a Readiness column: Ready: Release-7, Not ready: 2 PBIs open, Ready: Release-28 and No Work Items linked
The Readiness column: each pipeline's newest ready release, or why there isn't one.

The detail panel

Select a release in a release pipeline's list to open its detail panel beside it. It shows:

checkout-api's releases with Release-31 selected, and its detail panel: Compare with and Release notes, a Not ready sentence, the open Work Items, PBIs since Release-30, Tests and Bugs
A release's detail panel: why it isn't ready, and its PBIs, tests and Bugs.

A release whose commits aren't linked to Work Items says so, rather than looking ready. The panel's buttons open the release, open it in the browser, and close the panel.

Compare releases and write release notes

  1. Open a release pipeline and click Compare…, or Compare with… in a release's detail panel.
  2. Choose From and To. From starts at the release last in Production.
  3. Read the totals: PBIs completed, Bugs closed, PBIs not completed and Bugs still open.
Compare releases from Release-27 to Release-31: 2 PBIs completed, 1 Bug closed, 1 PBI not completed and 2 Bugs still open, with Completed grouped by Feature, Bugs closed, Contributed but not completed and Bugs still open
Two releases compared: what was completed, and what was worked on but isn't done yet.

Below, Completed lists the PBIs (grouped by their Feature) with their Tasks and tests, then Bugs closed; Contributed but not completed lists what was worked on in those releases but isn't done (it's in the build without being finished), then Bugs still open and anything not under a PBI.

Release notes

  1. Click Release notes… on the comparison, or in a release's detail panel.
  2. Set the Title and Date, and write an Introduction if you want one.
  3. Under Include, tick what to put in: Not yet complete (PBIs worked on but not done, and Bugs still open), Work Item IDs, Links to Azure DevOps, Tasks under each PBI, and Tests (how each PBI's and Bug's tests stand).
  4. Check the preview: Formatted, Markdown or Plain text.
  5. Copy as Markdown, or save as Markdown…, Plain text… or PDF….
Release notes for checkout-api Release-31: title, date, introduction and what to include on the left, a formatted preview with New and changed, Fixed and Not yet complete on the right, and Copy as Markdown and Save as Markdown, Plain text or PDF
Release notes: choose what's in them, preview them, then copy or save them.