From 539517ebe96b4fd5e7baa90ab60677b521c1342a Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 16 Nov 2024 14:48:06 +0200 Subject: [PATCH] Clean up the right agent every 15 minutes --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7e415b3..0b2b192 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'