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