Clean up agent1

This commit is contained in:
retropikzel 2024-11-16 11:19:10 +02:00
parent 2b4aa5e931
commit 29c2dca9db
1 changed files with 4 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -1,7 +1,5 @@
pipeline {
agent {
label 'agent2'
}
agent any
triggers {
cron("59 23 * * 1") // Clean up every monday
@ -12,6 +10,9 @@ pipeline {
}
stages {
agent {
label 'agent1'
}
stage('Clean docker images') {
steps {
sh 'docker system prune -a -f'