https://github.com/microsoft/azure-devops-extension-tasks
Pipeline tasks for Azure DevOps Extensions
https://github.com/microsoft/azure-devops-extension-tasks
azure-devops azure-devops-extension azure-pipelines azure-pipelines-task continuous-delivery
Last synced: 18 days ago
JSON representation
Pipeline tasks for Azure DevOps Extensions
- Host: GitHub
- URL: https://github.com/microsoft/azure-devops-extension-tasks
- Owner: microsoft
- License: mit
- Created: 2016-05-02T13:57:37.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T09:33:55.000Z (12 months ago)
- Last Synced: 2024-05-02T05:08:53.336Z (12 months ago)
- Topics: azure-devops, azure-devops-extension, azure-pipelines, azure-pipelines-task, continuous-delivery
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=ms-devlabs.vsts-developer-tools-build-tasks
- Size: 3.07 MB
- Stars: 169
- Watchers: 19
- Forks: 77
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: license.txt
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Azure DevOps Extension Tasks
Build: [](https://dev.azure.com/solidify-ms-devlabs/DevLabs%20Extensions/_build/latest?definitionId=5&branchName=main)
Release: [](https://dev.azure.com/solidify-ms-devlabs/DevLabs%20Extensions/_build/latest?definitionId=5&branchName=main)This extension provides build and release tasks for packaging and publishing Azure Devops Extensions to the [Visual Studio Marketplace](https://marketplace.visualstudio.com). There are also tasks to share and install your extension to your Azure Devops organization or Team Foundation Server.
## To use
[Learn more](https://marketplace.visualstudio.com/items?itemName=ms-devlabs.vsts-developer-tools-build-tasks) about this extension and install the extension into your Azure DevOps Organization via the Visual Studio Marketplace.
## Available tasks
Azure DevOps
* **Package**: package an Azure DevOps extension into an extension package (.VSIX) file
* **Publish**: (optionally) package and publish an extension (either privately or publicly) to the Visual Studio Marketplace
* **Unpublish**: unpublish an extension from the Visual Studio Marketplace
* **Share**: share an extension with an Azure DevOps organization
* **Install**: install an extension to an Azure DevOps organization
* **Query version**: query an extension's version (to make it easy to increment on your next package or publish)
* **Wait for validation**: waits for the Visual Studio Marketplace validation to come through.Visual Studio
* **Publish**: Publish a Visual Studio extension to the Visual Studio Marketplace
### Required scopes
When creating a personal access token for use by your pipeline, make sure the token has at least the following scopes for the task(s) you are using:
* **Publish**: `All accessible organizations`, `Marketplace (publish)`
* **Unpublish**: `All accessible organizations`, `Marketplace (manage)`
* **Share**: `All accessible organizations`, `Marketplace (publish)`
* **Install**: `All accessible organizations` or a specific Organization, `Extensions (read and manage)`, `Marketplace (acquire)`
* **Query Version**: `All accessible organizations`, `Marketplace (read)`
* **Is Valid**: `All accessible organizations`, `Marketplace (read)`
## Contribute
1. From the root of the repo run `npm run initdev`. This will pull down the necessary modules and TypeScript declare files.
2. Run `npm run build` to compile the build tasks.
3. Run `npm run package` to create a .vsix extension package that includes the build tasks.