Hi,

I tried a simple command in shell script as below:
sh 'echo Hello'

It gives below error:

[D:\Jenkins-Slave\workspace\Setup-WF] Running shell script
cygwin warning:
  MS-DOS style path detected: 
D:\Jenkins-Slave\workspace\Setup-WF\.fb8e6a28\pid
  Preferred POSIX equivalent is: 
/cygdrive/d/Jenkins-Slave/workspace/Setup-WF/.fb8e6a28/pid
  CYGWIN environment variable option "nodosfilewarning" turns off this 
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
sh: D:\Jenkins-Slave\workspace\Setup-WF\.fb8e6a28\script.sh: command not 
found

Can you please advise what could be wrong here?

Regards,
Rupali

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8fa5781c-8ffb-4565-9abb-884465b122c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to