diff --git a/Jenkinsfile b/Jenkinsfile index b3fa7a0..a7d20ce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,11 +43,10 @@ pipeline { } } stage('Test Checkout') { + agent { label 'agent-13' } when { - beforeAgent true expression { return (env.GIT_BRANCH == 'origin/zzz') } } - agent { label 'agent-13' } steps { checkout scm }