> On 17.04.2016, at 21:13, niristotle okram <nirish.ok...@gmail.com> wrote:
> 
> When the job comes to portion where the above code exist, it appears that the 
> first line of robocopy is executed. And it exist. 

Robocopy uses non-zero exit codes to indicate what it did rather than report a 
problem/failure -- which is likely how 'bat' interprets those. Try something 
like described here:

https://technet.microsoft.com/en-us/library/ff182367%28WS.10%29.aspx

You may need to use 'exit /b 0' instead if 'exit 0' for Pipeline, not sure.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/EAEE75D5-1374-4F1C-BFA1-3D0920FE1C9E%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to