Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: do not use variable names as variable prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Apr 15, 2021
1 parent 6fee879 commit 3ba61cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/e2eKibana.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3ba61cd

Please sign in to comment.