繁体   English   中英

azure devops,仅检查 CI 中的 runner 分支

[英]azure devops , checkout only the runner branch in CI

我该怎么做,我添加了这个但我不确定是否正确:

steps:
- checkout: self
  fetchDepth: 1
  clean: true
resources:
  repositories:
  - repository: MyRepo
    type: git
    name: Myrepo
    ref: master

steps:
- checkout: MyRepo

这应该工作

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM