Skip to content

Commit 40de70e

Browse files
authored
[Buildkite] Fix interpolating regex in buildkite pipeline (#133813) (#133816)
1 parent fd25f08 commit 40de70e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/pipelines/periodic.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ steps:
232232
image: family/elasticsearch-ubuntu-2404
233233
machineType: n2-standard-8
234234
buildDirectory: /dev/shm/bk
235-
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/
235+
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
236236
- label: check-branch-consistency
237237
command: .ci/scripts/run-gradle.sh branchConsistency
238238
timeout_in_minutes: 15

.buildkite/pipelines/periodic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ steps:
613613
image: family/elasticsearch-ubuntu-2404
614614
machineType: n2-standard-8
615615
buildDirectory: /dev/shm/bk
616-
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/
616+
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
617617
- label: check-branch-consistency
618618
command: .ci/scripts/run-gradle.sh branchConsistency
619619
timeout_in_minutes: 15

0 commit comments

Comments
 (0)