Skip to content

Template Azure Pipelines

This repository contains all the reusable azure pipeline templates. These can be imported in the pipelines of other projects.

Usage

To use, add this repository to the pipeline resources of your azure pipeline.

resources:
  - repository: templates
    type: git
    name: template-azure-pipelines
    ref: main

Then in the pipeline, the template location and the repository name specified above can be used to refer to the source of the template with the @ sign.

- template: my-category/my-tasks-v1.yml@templates
  parameters:
    myTaskParameter: myTaskParameterValue

The specific application is based on the template, as such. Each template definition will define their own README.md.

Template List

Format

The template list follows the format below. It defines the template path, template type, and a short description of what the template does.

  • a/my-tasks-v1.yml (step | job | extensible): Does my tasks

Templates

  • docs-hub/sync-v1.yml (step): Syncs a documentation branch to docs-hub.