robocopy errorlevel causes a failed jenkins build
Recently, I noticed that the robocopy and Jenkins were not playing nice. My jobs kept failing even though robocopy was succeeding. Eventually I figured out that Jenkins was expecting an error code of 0 to be returned and robocopy was returning…