From 5d35046c81b6ce1d2646d4949bf0925687f2213a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Wed, 14 Apr 2021 11:39:04 +0200 Subject: [PATCH] fix: apply X version for non-master branches --- .ci/e2eKibana.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.ci/e2eKibana.groovy b/.ci/e2eKibana.groovy index b285e69c4f..9ac52601ed 100644 --- a/.ci/e2eKibana.groovy +++ b/.ci/e2eKibana.groovy @@ -96,7 +96,10 @@ def runE2ETests(String suite) { log(level: 'DEBUG', text: "Triggering '${suite}' E2E tests for PR-${env.GT_PR}.") // Kibana's maintenance branches follow the 7.11, 7.12 schema. - def branchName = "${env.GT_BASE_REF}.x" + def branchName = "${env.GT_BASE_REF}" + if (${env.GT_BASE_REF} != "master") { + branchName = "${env.GT_BASE_REF}.x" + } def e2eTestsPipeline = "e2e-tests/e2e-testing-mbp/${branchName}" def parameters = [