I am executing Windows Batch Command on Jenkins slave (windows):
The batch file is :
 
@echo on
cd "<path>"
<filename>.exe
echo ret code: %errorlevel%
When I run it in command window it works.
 
When ruuning as Jenkins job I am getting error 255, the exe is not executed 
(its' job is not done).
However when I restart the slave machine, it works. It works until I edit 
the batch with minor changes or run a pipeline that contains the above job.
 
Will apreciate any ideas on it.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to