Also clean agent 1

This commit is contained in:
retropikzel 2025-05-30 17:44:25 +03:00
parent 827a09ac45
commit 4e1ec485e0
1 changed files with 10 additions and 1 deletions

11
Jenkinsfile vendored
View File

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