Skip to content

CI when: always should always run the stage, even when re-running previous jobs

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

In our tests we spin up a docker-compose environment and run some tests on it. We have a cleanup stage that stops the environment and removes all dependent services.

If a stage fails in the pipeline then the cleanup stage is run, but if I re-run the failed stage through the gitlab interface then the cleanup stage is not re-run.

Proposal

'downstream' stages with when: always should always be run, even when re-running a failed stage.

Edited by 🤖 GitLab Bot 🤖