Azure DevOps - Pipeline Viewer is a Visual Studio Code extension that allows you to view Azure DevOps pipelines directly within the VSCode environment. The extension supports multiple projects within a single organization and provides a clear and organized view of your pipelines.
Features
View Azure DevOps pipelines for multiple projects within a single organization.
Display pipeline status, build number, and project name.
Indicators:
"-" - Canceled
"X" - Failed
"🗸" - Succeeded
"⚠️" - Partial successful
Auto-refresh to keep pipeline status up-to-date.
Visual separators with project names and icons for better organization.
Set and manage Azure DevOps Personal Access Token (PAT), organization URL, and project names.
View detailed logs for each pipeline run.
Highlight custom tasks in the log output for better visibility.
Open the Extensions view by clicking on the Extensions icon in the Sidebar or pressing Ctrl+Shift+X.
Search for "Azure DevOps - Pipeline Viewer" and click Install.
Usage
There are two ways to set up and use the Azure DevOps - Pipeline Viewer:
Method 1: Command Palette
Open the Command Palette (Ctrl+Shift+P).
Run the command Azure Pipelines: Set Azure DevOps PAT to set your Personal Access Token.
Run the command Azure Pipelines: Set Azure DevOps Organization URL to set your organization URL.
Run the command Azure Pipelines: Add Azure DevOps Project to add one or more projects.
Open the "Azure Pipelines" view in the Sidebar to see your pipelines.
Method 2: Primary Sidebar with Overflow Menu
Click on the Azure DevOps icon in the primary sidebar to open the extension view.
In the "Authentication" view, you'll see an overflow menu (three dots) in the top-right corner.
From this overflow menu, select:
"Set Azure DevOps PAT" to set your Personal Access Token.
"Set Azure DevOps Organization URL" to set your organization URL.
"Add Azure DevOps Project" to add one or more projects.
"Remove Azure DevOps Project" to remove a project.
"Reset Azure DevOps Secrets" to clear all settings.
After configuring, switch to the "Pipelines" view to see your pipelines.
The extension will automatically refresh the pipeline view every 15 seconds to keep the status up-to-date. You can also manually refresh using the refresh button in the view.
Viewing Pipeline Logs
To view logs for a pipeline run:
Click on a pipeline in the "Pipelines" view.
The logs will open in the Output panel, showing detailed information about the pipeline run.
Custom tasks in the logs are highlighted for easy identification.
Configuration
Commands
Set Azure DevOps PAT: Set your Azure DevOps Personal Access Token.
Set Azure DevOps Organization URL: Set your Azure DevOps organization URL.
Add Azure DevOps Project: Add a new project to view pipelines.
Remove Azure DevOps Project: Remove an existing project.