Thanks for looking into my concern.
I am running a command on remote linux server from windows, using plink. Here's the command I am running
echo y | plink -v -pw %Linux-pw% -P %port% %Linux-user%@%Linux-Machine% rm -rf /root/jenkins/Sandbox/project1
If I execute this command I see the below error in jenkins.
11:53:17 plink: unknown option "-rf"
Strange thing is I have the same command in two jenkins jobs. One working fine and one job is throwing this issue.
Could anyone suggest something on this.