jenkins: try regex

This commit is contained in:
2026-02-24 03:58:48 -06:00
parent 995eb69937
commit 8cbaef9afe
Vendored
+1 -1
View File
@@ -4,7 +4,7 @@ pipeline {
stage('Checkout') { stage('Checkout') {
when { when {
beforeAgent true beforeAgent true
expression { return GIT_BRANCH == 'origin/main' } expression { return env.GIT_BRANCH ==~ /main/ }
} }
agent { label 'agent-12' } agent { label 'agent-12' }
steps { steps {