I get the following error if I run my azure devops pipeline:
##[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.
I tried it with my self hosted agent and with microsoft hosted agent, both of them have the same error.
Here is my pipeline:
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script:
echo Starting the build
./gradlew build
displayName: 'Build