I have a pipeline setup in Azure Devops. I have remove the triggers from my YML file and I have added triggers to the Azure pipeline. I have a trigger for CI and a trigger for PR.
These are set to a specific branch and specific folder within my repository.
When I commit code the CI build runs twice.
I've looked everywhere for a settings. What might cause this?
Based on your screenshot, you're using BitBucket repo for the pipeline.
Observe the last screenshot, both are CI triggers, but the version number is not in sequence: 20210825.17
and 2.0.0-debug.11504
. If it's triggered twice by azure devops trigger, the next number should be 20210825.18
.
Hence, please go to Bitbucket repo setting -> delete all existing webhooks, then: