I have my git repository hosted on Azure DevOps. I created a new yaml based build pipeline in the master
branch and have set the trigger section to two existing branches. Other branches don't have a azure-pipeline.yml
file nor any kind of branch policies are set for this DevOps project.
trigger:
batch: 'true'
branches:
include:
- master
- develop
The trigger gets invoked for every change in the master
branch as expected. But is ignoring any pushes to the develop
branch.
If I configure a build pipeline with the visual editor and define the exact two branches there, for every push a build will be triggered.
Any idea how Azure Pipeline respects the build definition also for other branches without copy and pasting the whole definition for every possible branch?
develop
branch ;) I also created a brand new DevOps Project and experience the same. It's not only thedevelop
branch. It's every other also. – dannyyydevelop
triggers nothing. – dannyyy