Skip to content

Commit

Permalink
Merge pull request #37 from sharepointoscar/jenkinsx-provider
Browse files Browse the repository at this point in the history
renamed jenkins x custom fields to match our docs
  • Loading branch information
maplebed authored Jul 18, 2019
2 parents 42adc5b + 58607bb commit 696059c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 696059c

Please sign in to comment.