From 29c2dca9db805281644ddd34866b8ab5e283557e Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 16 Nov 2024 11:19:10 +0200 Subject: [PATCH] Clean up agent1 --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index be91a94..4d6c1a2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'