The source project of this merge request has been removed.
Fix exiting with zero exit code when cmdlets fail
What does this MR do?
Fixes zero exit codes when cmdlets fail.
Why was this MR needed?
Try adding "echo 123 >nul" to build commands, PS will fail, but exits with zero exit code, leading to job success.
Are there points in the code the reviewer needs to double check?
No
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased
What are the relevant issue numbers?
https://gitlab.com/gitlab-com/support-forum/issues/1311 closes #4653 (closed)
Edited by Steve Xuereb