From 58607bbff04eb59ac7bedd5fe9874b8c09995121 Mon Sep 17 00:00:00 2001 From: sharepointoscar Date: Thu, 18 Jul 2019 13:30:16 -0700 Subject: [PATCH] renamed jenkins x custom fields to match our docs --- common.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common.go b/common.go index 846e2fc..0257b68 100644 --- a/common.go +++ b/common.go @@ -78,10 +78,10 @@ func providerInfo(provider string, ev *libhoney.Event) { case "jenkinsx", "jenkins-x": envVars = map[string]string{ - "JENKINSX_BRANCH_NAME": "branch", - "JENKINSX_BUILD_NUMBER": "build_num", - "JENKINSX_PULL_NUMBER": "pr_number", - "JENKINSX_REPO_NAME": "repo", + "BRANCH_NAME": "branch", + "BUILD_NUMBER": "build_num", + "PULL_NUMBER": "pr_number", + "REPO_NAME": "repo", } } for envVar, fieldName := range envVars {