Using a shell executor with powershell, allow_failure:exit_codes do not behave as documented
With the following very simple job:
build:
script:
- exit 4
allow_failure:
exit_codes:
- 4
The job fails instead of passing with a warning sign.
It works perfectly with bash.
it works perfectly with allow_failure: true
.
Am I missing something ? Is there a work around ?