Skip to content

FilBot3/azure_devops_buildAndReleaseTask

Repository files navigation

Azure DevOps Extension Task Example

Overview

This repository is for me to see how to build, test, package and publish an Azure DevOps Extension.

The shovel/shovel.py holds the actual tasks that are performed to build and publish the ADO Extension. The Tasks being created are stored in tasks/. This is useful for making an Extension with multiple tasks.

Requirements

  • NodeJS + TypeScript
  • Python 3 + pip (For the shovel task runner)

Setup

Install the Python 3 dependencies:

python -m pip install --upgrade pip
python -m pip install -r python-3-requirements.txt

Then build the package.

shovel build

This will cd tasks/buildAndReleaseTask/ then execute ./node_modules/.bin/tsc via npm's s script functionality.

Usage

Package the ADO Extension

shovel package

This will execute the tfx CLI client to package the ADO Extension.

References

About

The code from the Microsoft Azure DevOps Extension tutorial

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages