Pipeline won't trigger when adding tag to commit via the Azure DevOps Web Interface

Occasional Visitor

Hi,

I have the following YAML-file for triggering a pipeline:

trigger:
  tags:
    include:
    - '*-RELEASE'
pool:
  vmImage: ubuntu-latest
steps:
- script: echo $(Build.SourceBranch)
  displayName: 'Get tag-name from commit'

When I add a Tag via the web interface, nothing happens.

AddingTag.PNG

 

 But when I do it via command-line git everything goes well.

git pull origin main
git tag v2.6-RELEASE
git push origin main v2.6-RELEASE

 

I see both Tags available in the Tags overview page:

TagsOverview.PNG

 

 

Did I forget something? Because I thought both methods would have the same effect.

 

Kind Regards,

Ricardo

0 Replies