Clean up the right agent every 15 minutes

This commit is contained in:
retropikzel 2024-11-16 14:48:06 +02:00
parent 8c6a500563
commit 539517ebe9
1 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -10,10 +10,10 @@ pipeline {
} }
stages { stages {
stage('Clean docker images') {
agent { agent {
label 'agent1' label 'agent1'
} }
stage('Clean docker images') {
steps { steps {
sh 'docker system prune -a -f' sh 'docker system prune -a -f'
sh 'docker network prune -f' sh 'docker network prune -f'