Fix docker images cleaning

This commit is contained in:
retropikzel 2025-09-13 12:21:14 +03:00
parent 9d6250d57a
commit 9cf4d1c4f1
1 changed files with 10 additions and 1 deletions

11
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
label 'linux' label 'linux'
} }
trigger { triggers {
cron('0 0 * * *') cron('0 0 * * *')
} }
@ -30,6 +30,15 @@ pipeline {
sh 'docker network prune -f' sh 'docker network prune -f'
} }
} }
stage('Clean docker images agent3') {
agent {
label 'agent3'
}
steps {
sh 'docker system prune -a -f'
sh 'docker network prune -f'
}
}
} }
} }