From d67b6c13805ef4e9cc8b9ca86680ee2120982d7a Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 13 Nov 2024 13:49:12 -0700 Subject: [PATCH] Hardcode target agent --- Jenkinsfile | 66 +++-------------------------------------------------- 1 file changed, 3 insertions(+), 63 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 216b19b..e61c101 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,7 @@ pipeline { - agent any + agent { + label 'dockermain' + } options { @@ -12,10 +14,6 @@ pipeline { stages { stage("Clean Up Repo") { - agent { - label "dockermain" - } - steps { script { @@ -29,10 +27,6 @@ pipeline { } } stage("Clean Docker Caches") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -45,9 +39,6 @@ pipeline { } stage("Stop Workers") { - agent { - label "dockermain" - } steps { script { @@ -64,10 +55,6 @@ pipeline { } stage("Build Debian Base") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -81,9 +68,6 @@ pipeline { } stage("Builder Debian Compiler") { - agent { - label "dockermain" - } steps { script { @@ -99,10 +83,6 @@ pipeline { } stage("Build ADK") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -116,10 +96,6 @@ pipeline { } stage("Build Flutter") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -133,10 +109,6 @@ pipeline { } stage("Build AppImage Layer") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -150,10 +122,6 @@ pipeline { } stage("Build Linux Node") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -167,10 +135,6 @@ pipeline { } stage("Build Linux Firestorm Node") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -184,10 +148,6 @@ pipeline { } stage("Build Arch Base") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -201,10 +161,6 @@ pipeline { } stage("Build Arch Develop") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -218,10 +174,6 @@ pipeline { } stage("Build DIND Image") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -235,10 +187,6 @@ pipeline { } stage("Build NextCloud Image") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -253,10 +201,6 @@ pipeline { } stage("Build Jenkins Image") { - agent { - label "dockermain" - } - steps { script { sh ''' @@ -271,10 +215,6 @@ pipeline { } stage("Clean Up Caches") { - agent { - label "dockermain" - } - steps { script { sh '''