Hi,
I have a pipeline which contains some manual jobs.
When one of the preceeding job fails, the status of the pipeline is ‘Blocked’. Unfortunately, this is the same, expected status that should be when everything is fine.
I would like to ensure that any failed job makes the entire pipeline red & failed, so that we don’t miss out on errors.
In the particular case, the Deploy step is manual which probably makes the pipeline result Blocked.
However, when Pack stage fails, I want to know it.
In short, the pipeline is as follows (stripped down of everything irrelevant)
stages:
- Build and Test
- Scan
- Pack
- Deploy
Build and Test:
stage: Build and Test
script:
# something
Fortify:
# something
NuGets:
# something
Service:
stage: Pack
needs:
- job: Build and Test
#bla bla
.Client:
stage: Pack
needs:
- job: Build and Test
image: $WINDOWS_IMAGE
allow_failure: false # FAILURE IS NOT ALLOWED
script:
# THIS IS THE STEP THAT SOMETIMES FAILS AND YET THE PIPELINE IS NOT RED
Client DEV:
extends: .Client
variables:
# bla bla