This sample extension shows how to make a tab/section contribution to build summary page, while reacting to build updates. This also has a sample code that allows user to render custom data results uploaded from a particular task in build.
You could contribute to build results view in different ways:
- As a section to any of your own contributed tab for build results view
- As a section to the existing "summary" tab in build results view
- As a tab to the build results view
- ms.vss-build-web.build-results-view: To contribute to build results/details view
- ms.vss-build-web.build-results-summary-tab: To contribute to the summary view on build results/details view
- ms.vss-build-web.build-results-tab: To contribute as a tab to build results/details view
- ms.vss-build-web.build-results-section: To contribute as a section to tab targets
- name: Display name for the contribution
- uri: Content
- order (Warning: Will be deprecated soon): Determines where to place the contribution
- height: Optional, custom height in pixels
- supportsTasks: You can control the visibility of a contribution using task constraints.
- id: This should point to the task
id
fromtask.json
, which is a GUID. You can see all existing tasks here
- id: This should point to the task
From the the extension directory:
- (Command Line) npm install
- (Command Line) npm run build
- (Command Line: Automatically rev version and mention publisher for testing:) tfx extension create --publisher fabrikam --rev-version
- (Command Line: Using json instead:) tfx extension create --manifest-globs vss-extension.json