From 78cba2b1e9efcef363b689c77a5e3b6a25de1ae7 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Thu, 4 Dec 2025 23:28:31 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 295a62e..bf5927f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,14 +39,14 @@ build-job: # This job runs in the build stage, which runs first. clean-job: # This job runs in the build stage, which runs first. stage: clean script: - - rm -rf /home/gitlab-runner/builds/* + - 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 script: - - rm -rf /home/gitlab-runner/builds/* + - ls -la /home/gitlab-runner/builds/* notify: stage: notify # Should be in a later stage than the job that might fail