exit 1 does now show failure on Windows
Summary
Steps to reproduce
.gitlab-ci.yml
```yaml
stages:
- build
- deploy
variables:
FF_ENABLE_BASH_EXIT_CODE_CHECK: 'true'
build-service:
stage: build
tags:
- vs2019
script:
- cd buildscripts
# build and run tests
#- .\build.ps1
#- echo "Build completed" + $Env:LASTEXITCODE
- exit 1
</details>
## Actual behavior
<!--
job shows succeeded
-->
## Expected behavior
<!--
Job should show failure
-->
## Relevant logs and/or screenshots
<!--
Paste the job logs inside of the code blocks (```) below so it would be
easier to read.
-->
<details>
<summary> job log </summary>
```sh
Loading history...
5:50
Running with gitlab-runner 14.1.0 (8925d9a0)
on NWKBuild3 xUWEXRen
feature flags: FF_ENABLE_BASH_EXIT_CODE_CHECK:true
Preparing the "shell" executor
00:00
Using Shell executor...
Preparing environment
00:02
Running on NWKBUILD3...
Getting source from Git repository
Fetching changes...
Reinitialized existing Git repository in C:/Gitlab-Runner/builds/xUWEXRen/0/mis/rmaswap-microservice-azurefunctions/.git/
Checking out 1760040c as 92-add-tests-for-json-files...
git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)
Skipping Git submodules setup
Executing "step_script" stage of the job script
00:01
$ cd buildscripts
$ exit 1
Cleaning up file based variables
00:02
Job succeeded
Environment description
config.toml contents
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "NWKBuild3"
url = "https://git.socketmobile.com/"
token = "xUWEXRen5ykyPKsnRb8J"
executor = "shell"
shell = "powershell"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
Used GitLab Runner version
Possible fixes
Edited by Len Ott