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

6
Jenkinsfile vendored
View File

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