I have ABC & DEF pipelines and I want DEF to run post ABC successful run so I have written YAML like below in DEF.
pipelines:
- pipeline: test # Internal name of the source pipeline
source: ABC
trigger: true
Pipeline triggering but I want to trigger pipeline for branches under release/* latest branch. The pipeline triggering for master in DEF. ABC is just cron JOB. is there any way to trigger DEF for branch we want instead of master.
You can try to modify the following yaml to have a try:
trigger:
- DEF
resources:
pipelines:
- pipeline: test
project: your_project_name
source: ABC
branch: release/* #latest branch
trigger:
branches:
- release/* #latest branch
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.