You cannot run Windows scripts in Linux system and vice versa - the only 
solution is to use appropriate shell as conditional step.

Regards

On Thursday, December 29, 2022 at 4:31:45 PM UTC+3 [email protected] 
wrote:

> Hello! I'm having the same issue
> Could you describe how you resolve the issue pls ?
>
> пятница, 3 февраля 2017 г. в 23:33:41 UTC+3, [email protected]: 
>
>> Hi,
>>
>> I got you. Thank you so much for your help.
>>
>> Sitaram.
>>
>>
>> On Friday, February 3, 2017 at 1:51:18 AM UTC-6, Daniel Beck wrote:
>>>
>>>
>>> > On 03.02.2017, at 05:39, [email protected] wrote: 
>>> > 
>>> > I gave a basic command echo "Hello" but I am getting the following 
>>> error... I believe it is expecting cmd.exe to be in my work space??? 
>>>
>>> Windows batch scripts need to run on Windows nodes -- as you can see 
>>> from the workspace path, it's a Linux system. 
>>>
>>>

-- 
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/b9aaa0a3-4cc9-42b0-afd4-158634861db6n%40googlegroups.com.

Reply via email to