jenkins: try alternative

This commit is contained in:
2026-02-24 03:54:15 -06:00
parent d42c59c317
commit 193dcb2b2b
Vendored
+2 -2
View File
@@ -4,7 +4,7 @@ pipeline {
stage('Checkout') { stage('Checkout') {
when { when {
beforeAgent true beforeAgent true
expression { return env.GIT_BRANCH == "origin/main" } expression { return env.GIT_BRANCH == 'origin/main' }
} }
agent { label 'agent-12' } agent { label 'agent-12' }
steps { steps {
@@ -41,7 +41,7 @@ pipeline {
} }
agent { label 'agent-13' } agent { label 'agent-13' }
steps { steps {
sh 'printenv' sh 'echo $GIT_BRANCH'
checkout scm checkout scm
} }
} }