Skip to content

Commit be3d02e

Browse files
authored
[Buildkite] Fix interpolating regex in buildkite pipeline (elastic#133813) (elastic#133817)
1 parent 7b990a5 commit be3d02e

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
@@ -217,7 +217,7 @@ steps:
217217
image: family/elasticsearch-ubuntu-2404
218218
machineType: n2-standard-8
219219
buildDirectory: /dev/shm/bk
220-
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/
220+
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
221221
- label: check-branch-consistency
222222
command: .ci/scripts/run-gradle.sh branchConsistency
223223
timeout_in_minutes: 15

.buildkite/pipelines/periodic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ steps:
921921
image: family/elasticsearch-ubuntu-2404
922922
machineType: n2-standard-8
923923
buildDirectory: /dev/shm/bk
924-
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/
924+
if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$$/
925925
- label: check-branch-consistency
926926
command: .ci/scripts/run-gradle.sh branchConsistency
927927
timeout_in_minutes: 15

0 commit comments

Comments
 (0)