azure-devops - azure devop build pipeline not triggering
问题描述
This is my yaml:
trigger:
branches:
include:
- master
- R_current_Sprint
paths:
exclude:
- YAML/*
extends:
template: ThunderPipeline.yaml
parameters:
MergeBetweenBranches: false
But when I merged somthing to R_current_Sprint today, somehow the build pipeline is not triggered.
However, if I overwrite what is available in yaml with this and do another merge to R_current_Sprint. The pipeline is triggered. So indeed something not right.
Is there a log or something to see why the pipeline is not triggered by my yaml file?
解决方案
The branch names in yaml trigger are case sensitive!
It should be R_Current_Sprint
instead of R_current_Sprint
:
trigger:
branches:
include:
- master
- R_Current_Sprint
paths:
exclude:
- YAML/*
The trigger in Yaml can not work cause you're using R_current_Sprint
. The reason why the GUI setting works is that you use the correct R_Current_Sprint
.
Just correct the branch name in your yaml file, and this issue would go away.
推荐阅读
- javascript - addEventListener 不是使用可选链接的函数错误
- cucumber-java - 如何以 PDF 格式生成 Maven 黄瓜报告
- windows - AppLocker 规则阻止在我的桌面上安装防病毒软件
- javascript - 在 Chrome 扩展清单 v3 中,我如何指示 manifest.json 仅在某些网页上运行我的扩展而不使用 activeTab 权限?
- java - 错误:选项 -Xbootclasspath/p:在干净构建 JSF Web 应用程序时不允许使用目标 11
- mysql - zsh:找不到命令:mysql。MySQL 不兼容 zsh?
- dependencies - 在 odoo enterpeise v14 中卸载 studio_customization 模块时出现依赖错误
- angular - 使用模块的路由器插座中的路由器插座
- java - 有没有办法在 SpringBoot 中只执行一些包?
- bash - 如何处理从 app_credentials 传递的保留 bash 字符