New extensibility points for Pipelines details view
With this update, we've added two new extensibility points that you can target in your extensions. These extensibility points let you add a custom button in the pipeline header and a custom menu on a pipeline folder.
Check out the release notes for details.
Azure Boards
Azure Pipelines
- New extension points for Pipelines details view
- Improved migration to Azure DevOps Services
- Improvement to Pipelines Runs REST API
Azure Boards
Remove the ability to download a deleted attachment from work item history
We fixed a small issue where users were able to download attachments from the work item history, even after the attachment was removed from the form. Now, once the attachment is removed, it cannot be downloaded from the history, nor will the download URL be available from the REST API response.
Azure Pipelines
New extension points for Pipelines details view
We've added two new extensibility points that you can target in your extensions. These extensibility points let you add a custom button in the pipeline header and a custom menu on a pipeline folder:
- Custom button in the pipeline header:
ms.vss-build-web.pipelines-header-menu
- Custom menu on a pipeline folder:
ms.vss-build-web.pipelines-folder-menu
To use these new extensibility points, simply add a new contribution that targets them in your Azure DevOps extension's vss-extension.json
manifest file.
For example:
"contributions": [
{
"id": "pipelinesFolderContextMenuTestItem",
"type": "ms.vss-web.action",
"description": "Custom menu on a pipeline folder",
"targets": [
"ms.vss-build-web.pipelines-folder-menu"
],
"properties": {
"text": "Test item",
"title": "ms.vss-code-web.source-item-menu",
"icon": "images/show-properties.png",
"group": "actions",
"uri": "main.html",
"registeredObjectId": "showProperties"
}
},
{
"id": "pipelinesHeaderTestButton",
"type": "ms.vss-web.action",
"description": "Custom button in the pipeline header",
"targets": [
"ms.vss-build-web.pipelines-header-menu"
],
"properties": {
"text": "Test item",
"title": "ms.vss-code-web.source-item-menu",
"icon": "images/show-properties.png",
"group": "actions",
"uri": "main.html",
"registeredObjectId": "showProperties"
}
}
]
The result will be:
Custom button in the pipeline header
Custom menu on a pipeline folder
Improved migration to Azure DevOps Services
When running an import from Azure DevOps Server to Azure DevOps Services, you have to consider that Azure DevOps no longer supports per-pipeline retention rules. With this update, we removed these policies when you migrate to Azure DevOps Services from your on-premises Azure DevOps Server. To learn more about configuring retention policies, see our documentation on setting retention policies for builds, releases, and tests.
Improvement to Pipelines Runs REST API
Previously, the Pipelines Runs REST API returned only the self
repository. With this update, the Pipelines Runs REST API returns all repository resources of a build.
Next steps
Note
These features will roll out over the next two to three weeks.
Head over to Azure DevOps and take a look.
How to provide feedback
We would love to hear what you think about these features. Use the help menu to report a problem or provide a suggestion.
You can also get advice and your questions answered by the community on Stack Overflow.
Thanks,
Aaron Hallberg