I'm working for the first time with Azure Devops Pipelines. I'm using a .yml file. But I can't figure out why the pipeline won't run when I checkout and push a branch from develop to "releases/*. It just won't trigger even when there are changes in src/
which are inside my new releases/newbranch
But when I merge my change from "customers/feature-branch" with customers/moa-prototype-client1/release
the pipeline will run.
My trigger is:
trigger: branches: include: - customers/moa-prototype-client1/release - releases/* paths: include: - src/* - src/customers/moa-prototype-client1/* exclude: - '*.yml' - src/customers/*
What can cause this?
So in short: It will trigger when I merge from Customers/Customername/Develop
to Customers/Customername/Release
. But won't when I merge from Develop
to Releases/*
Our repo:Gitflow
Solution: After checking the links and possible solution some users suggested, I got it to work. But I was not totaly happy whit this fix, because I wanted to run my pipeline though my .yml file and not override my triggers though the pipeline settings.
When I looked at my .yml again and noticed a space behind releases/*
, I removed this space and committed this to my repo and all was working as it should!