I have ensured git bash installed on the agent but still coming up with following error and i also added env variable
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 verify the file has a valid extension for an executable file.
I want to replace the token from that agent itself since that file will be available in the folder from the agent only, not in source code. and that file being generated from one of the task from azure pipeline.
that file content example:
https://dev-domain.com
here in above url, dev can be stage , prod etc , it need to be parameterized and use the replace token
- worked on installing git bash
- worked on adding the env variable path
- worked on replace token task but it is working if file is available in the source code, not if file is being generated in the agent directly.