【发布时间】:2021-05-11 17:05:36
【问题描述】:
我们创建了 Azure DevOps 构建管道,其中包含如下所述的多存储库配置,并且效果很好。
resources:
repositories:
- repository: project-source # The name used to reference this repository in the checkout step
type: github
endpoint: MyGitHubServiceConnection
name: MyGitHubOrgOrUser/MyGitHubRepo
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
stages:
jobs
- job: CodeBuild
displayName: Code Build
steps:
- checkout: self
- checkout: project-source
我们还在构建状态上配置了 DevOps 通知,通知邮件的 Commits 部分显示来自 IAC repo(self) 而不是源代码 repo(project-source) 的更改。
我们是否缺少任何配置? 对此的任何帮助表示赞赏。
【问题讨论】:
标签: email github azure-devops