diff --git a/Jenkinsfile b/Jenkinsfile index bbb08cd..76c2307 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stage('Checkout') { when { beforeAgent true - expression { return env.GIT_BRANCH == "origin/main" } + expression { return env.GIT_BRANCH == 'origin/main' } } agent { label 'agent-12' } steps { @@ -41,7 +41,7 @@ pipeline { } agent { label 'agent-13' } steps { - sh 'printenv' + sh 'echo $GIT_BRANCH' checkout scm } }