Skip to content
Open core software, built in Singapore Established 2018  /  Five utilities
Jering
Talk to us

Quick Start

DevOps.AzurePipelines Jering documentation Open source Pipeline templates
Documentation menu

Reference the templates from another repository and run a first package pipeline.

Before you start

You need an Azure DevOps organization with YAML pipelines enabled and a repository that can reference another repository as a resource.

Reference the templates

Add the templates repository as a resource at the top of your pipeline file.

YAML
resources:
  repositories:
  - repository: templates
    type: git
    name: your-project/templates
    ref: refs/heads/main

Use a template

Reference the stage or job template you need. The exact parameters depend on the template; keep the template repository beside your package repository so both can change together.

YAML
stages:
- template: templates/package.yml@templates
  parameters:
    project: src/Example/Example.csproj

Run the pipeline

Commit the pipeline file and run it. The templates run tests on the configured agents, produce coverage output and prepare the package artifacts.

Next

Read Packages In Depth for versioning, symbols and package metadata.

Reference shelf