Closed lukasz-pyrzyk closed 8 years ago
if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }
Set build as failed if any error occurred
if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }