簡體   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