【发布时间】:2020-10-22 10:07:43
【问题描述】:
如果我运行我的 azure devops 管道,我会收到以下错误:
##[error]Unable to locate executable file: 'bash'. Please verify either the file path exists or the
file can be found within a directory specified by the PATH environment variable. Also check the file
mode to verify the file is executable.
我用我的自托管代理和微软托管代理都试过了,它们都有同样的错误。
这是我的管道:
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script:
echo Starting the build
./gradlew build
displayName: 'Build
【问题讨论】:
标签: bash azure-devops yaml azure-pipelines