# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
  branches:
    include:
    - master
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/monitor/

pr:
  branches:
    include:
    - master
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/monitor/

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: monitor
    BuildTargetingString: '*'
    Artifacts:
    - name: azure_mgmt_monitor
      safeName: azuremgmtmonitor
    - name: microsoft_opentelemetry_exporter_azuremonitor
      safeName: microsoftopentelemetryexporterazuremonitor
