Skip to content

Visual Studio Team Services Build features directly in Visual Studio Code

License

Notifications You must be signed in to change notification settings

jlandersen/vscode-vsts-build-status

Repository files navigation

Visual Studio Team Services Build Extension for Visual Studio Code

Work with your Visual Studio Team Services builds directly in Visual Studio Code!

Features:

  • Select a build definition to monitor, and a status indicator will be visible in the status bar
  • View build logs
  • Stream build logs for running builds
  • Open builds in browser
  • Queue new builds

Screenshot-1 Screenshot-2 Screenshot-3 Screenshot-4

The status bar icon will become visible when the necessary settings are provided (see Configuration). A selected build definition in a specific workspace will be selected automatically the next time you open that workspace.

Configuration

The extension is enabled by providing the following settings (user or workspace):

{
    "vsts.password": "mypersonalaccesstoken",
    "vsts.account": "myaccount",
    "vsts.project": "myproject"
}

It also allows to add several build definitions grouped into one status bar indicator. It could be helpful if you trigger multiple builds which overall result is success only if all builds are passing (e.g. when running multiple build definitions on the same code base cross-platform). To enable grouped build definitions, add the following configuration in addition to the one at the top:

{
    "vsts.definitionsGroup": "1,2,3", // IDs of build definitions to be grouped, separated with a comma
    "vsts.definitionsGroupName": "My Grouped Builds", // Name of the grouped build definitions
}

License

MIT, please see LICENSE for details. Copyright (c) 2016 Jeppe Andersen.