Batch script executed from before_script exists Jobs main script

Summary

exact summary and all relevant info in this forum thread: https://forum.gitlab.com/t/before-script-run-shell-script/26252