【发布时间】:2019-03-08 10:46:22
【问题描述】:
我想为我的所有 rust 项目创建一个带有模板的中心点存储库。在其他项目中,我只想添加指向它们的链接:
这是我的模板存储库的示例链接。你可以找到他们here。
trigger: ["master"]
pr: ["master"]
resources:
repositories:
- repository: templates
type: github
name: xoac/rust-azure-pipelines
# Test top level crate
- template: azure-test-stable.yml@templates
parameters:
name: test_tokio
displayName: Test tokio
cross: true
我收到一个错误here
我找到了需要指定服务连接的here。
如果您选择 github 作为您的类型,则 name 是 GitHub 存储库的全名,包括用户或组织。例如,微软/vscode。此外,GitHub 存储库需要 service connection 进行授权。
- 我不知道这应该是什么类型的连接。
- 我想让每个想要使用它的人都可以使用它。
【问题讨论】:
标签: azure azure-devops azure-pipelines