Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.11 KB

File metadata and controls

18 lines (14 loc) · 1.11 KB

Template for creating an AzureDevOps Task (Plugin)

Installation

  1. Clone the Proyect
  2. Use command cd buildAndReleaseTask
  3. Install dependencies yarn
  4. Use yarn build to compile any changes on the index.ts file. This file contains the boostrap for script execution. Its the entry point to execute the logic or scripts you want.
  5. Set as local variables the list on task.json, example export samplestring=pluginTemplate
  6. Once compiled and generated the index.js file, we can run yarn start:local

Generate the VSIX File

  1. Move to the root directory of the project, where the vss-extension.json file is.
  2. Use the command tfx extension create --manifest-globs vss-extension.json
  3. This wil create and vsix file on the root of the project. That file is the Task (plugin) compiled and ready to be published.

Publish

In order to publish your Task(plugin) whe need an accound as Publisher. More info here: https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#5-publish-your-extension