I am calling a bash script through azure devops task in a yaml pipeline.
It's a simple bash script to echo some strings but I am getting the following output. It seems like it doesn't like the empty line. I tried adding #!/bin/sh but doesn't seem to help.
hello world
/__w/4/s/test.sh: line 3: $'\r': command not found
this is bash script