From 3ba61cd540131feb4ea778c40a581fb108f7ea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 15 Apr 2021 09:53:25 +0200 Subject: [PATCH] fix: do not use variable names as variable prefix --- .ci/e2eKibana.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/e2eKibana.groovy b/.ci/e2eKibana.groovy index 9c76fca56c..3d3c257356 100644 --- a/.ci/e2eKibana.groovy +++ b/.ci/e2eKibana.groovy @@ -27,14 +27,14 @@ pipeline { [key: 'GT_REPO', value: '$.repository.full_name'], [key: 'GT_BASE_REF', value: '$.pull_request.base.ref'], [key: 'GT_PR', value: '$.issue.number'], - [key: 'GT_PR_HEAD_SHA', value: '$.pull_request.head.sha'], + [key: 'GT_HEAD_SHA', value: '$.pull_request.head.sha'], [key: 'GT_BODY', value: '$.comment.body'], [key: 'GT_COMMENT_ID', value: '$.comment.id'] ], genericHeaderVariables: [ [key: 'x-github-event', regexpFilter: 'comment'] ], - causeString: 'Triggered on #$GT_PR (baseRef:$GT_BASE_REF, sha:$GT_PR_HEAD_SHA), via comment: $GT_BODY', + causeString: 'Triggered on #$GT_PR (baseRef:$GT_BASE_REF - sha:$GT_HEAD_SHA), via comment: $GT_BODY', printContributedVariables: false, printPostContent: false, silentResponse: true, @@ -85,7 +85,7 @@ def getBranch(){ def getDockerTag(){ if(env.GT_PR){ - return "${env.GT_PR_HEAD_SHA}" + return "${env.GT_HEAD_SHA}" } // we are going to use the 'pr12345' tag