Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Pipelines Resource Trigger (branch filter) not working as expected. #603

Open
ayush2708 opened this issue Nov 8, 2023 · 2 comments

Comments

@ayush2708
Copy link

ayush2708 commented Nov 8, 2023

I have a following YML:

name: "$(Date:yyyyMMdd).$(Rev:r)"

trigger: none

pr: none

resources:
pipelines:
- pipeline: build-pipeline
source: "roc-ui Build Pipeline"
branch: develop
trigger:
branches:
include:
- develop
- release/*

According to the documentation: The above YML/pipeline is supposed to get triggered if the 'roc-ui Build' is completed on develop or release/* branch.

Issue: Pipeline is getting triggered for develop branch correctly. But when I complete a build on release/* branch it still gets triggered on develop branch's last commit. It picks up the correct Build Artifact produced from release/* branch build but the pipeline itself gets triggered from develop branch last commit instead of release/* branch commit. Kindly Help please!!!!

[EDIT]: My repository is on Bitbucket Cloud

@vishalvatsal
Copy link

@ayush2708 does you release branch have the yml pipeline?

@ayush2708
Copy link
Author

@vishalvatsal yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants