From d42f7dba0c2d27245b7bfe9cce4c17afcd5fe9d0 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Thu, 4 Dec 2025 23:42:26 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2d2c37..28b390d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,6 +42,7 @@ clean-job: # This job runs in the build stage, which runs first. - ls -la /home/gitlab-runner/builds/* rules: - if: '$CI_COMMIT_MESSAGE =~ /build/' + cleanup_on_failure_job: stage: clean # Should be in a later stage than the job that might fail when: on_failure # <-- This is the key keyword