mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-14 18:44:53 +01:00
Merge branch 'main' of gitlab.sectorq.eu:jaydee/portainer
This commit is contained in:
@@ -39,3 +39,8 @@ clean-job: # This job runs in the build stage, which runs first.
|
||||
- rm -rf /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/*
|
||||
Reference in New Issue
Block a user