![](/img/trans.png)
[英]Azure Devops pipeline cannot access a Docker Windows image?
[英]dir: cannot access in azure devops pipeline
每次運行我的 devops 管道時,我都會收到dir: cannot access "..."
錯誤消息。 我不知道為什么會這樣。
這是我的管道代碼:
---
resources:
repositories:
- repository: testrepo
type: github
endpoint: testendp
name: testrepo/data
trigger:
- none
pool:
name: Hosted Ubuntu 1604
steps:
- checkout: testrepo
- script: dir $(Build.SourcesDirectory)
data=$(jq 'to_entries | map(select(.value.isdata=="true")) | from_entries' datafiles.json )
echo "$data"
但我總是得到dir: cannot access "..."
錯誤。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.