Azure DevOps Build Monitor
Adds build monitoring for builds in Azure DevOps as status bar item and web panel.
Settings
In order to provide access to Azure DevOps, please provide a Personal Access Token (PAT), either
explicitly as a value or by putting it into a file and configuring the file path. For more
information on PATs, see the Azure DevOps documentation.
{
"ado-buildmon.accessToken": {
"value": "****************************",
"file": "/path/to/pat"
}
}
The following settings can automatically be retrieved from an Azure DevOps git repository. To use
it, invoke the VS Code command ADO Build Monitor: Get Builds From Azure
. It will be pre-filled
with information read from the currently-opened git repository, if available. This requires the
following read permissions for your PAT: Build
, Code
and Project and Team
{
"ado-buildmon.refreshIntervalSeconds": 30,
"ado-buildmon.monitor": [
{
"collectionUri": "https://dev.azure.com/myOrg",
"teamProject": "myTeam",
"branchName": "refs/heads/main",
"builds": [
{
"id": 12345,
"label": "Sample build 1"
},
{
// show in panel, but not status bar
"id": 67890,
"label": "Sample build 2",
"ignore": true,
}
]
}
],
// color customizations
// see https://code.visualstudio.com/api/references/theme-color#status-bar-colors
"workbench.colorCustomizations": {
// transparent background, colorized foreground
"statusBarItem.errorForeground": "#b05959",
"statusBarItem.errorBackground": "#00000000",
"statusBarItem.warningForeground": "#be9d63",
"statusBarItem.warningBackground": "#00000000"
}
}