Recently, I was facing issue with Jenkins setup while executing some scripts in windows shell command .
Actually robocopy command does not return 0 always while it returns other than 0 exit codes though it copies successfully.
Used following at the end of script did the trick for me which always forced to return 0 after copy :
exit /b 0
Hope it will help others too.
Cheers,
Kapil
No comments:
Post a Comment
Thanks for your comment, will revert as soon as we read it.