Skip to content

Commit 6a8d534

Browse files
authored
[Buildkite] Fix interpolating regex in buildkite pipeline (elastic#133813)
1 parent 6b24893 commit 6a8d534

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
@@ -246,7 +246,7 @@ steps:
246246
image: family/elasticsearch-ubuntu-2404
247247
machineType: n2-standard-8
248248
buildDirectory: /dev/shm/bk
249-
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/
249+
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
250250
- label: check-branch-consistency
251251
command: .ci/scripts/run-gradle.sh branchConsistency
252252
timeout_in_minutes: 15

.buildkite/pipelines/periodic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ steps:
684684
image: family/elasticsearch-ubuntu-2404
685685
machineType: n2-standard-8
686686
buildDirectory: /dev/shm/bk
687-
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/
687+
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
688688
- label: check-branch-consistency
689689
command: .ci/scripts/run-gradle.sh branchConsistency
690690
timeout_in_minutes: 15

0 commit comments

Comments
 (0)