Skip to content

Commit b1433e6

Browse files
committed
remove unnecessary context reference from trigger job
(cherry picked from commit 817fdf9b439e85c3ddfda126b3efb4e45c36006b)
1 parent e42630d commit b1433e6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.ci/Jenkinsfile_baseline_trigger

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ withGithubCredentials {
2121

2222
commits.take(MAXIMUM_COMMITS_TO_BUILD).each { commit ->
2323
catchErrors {
24-
githubCommitStatus.create(commit, 'pending', 'Baseline started.', context = 'kibana-ci-baseline')
24+
githubCommitStatus.create(commit, 'pending', 'Baseline started.', 'kibana-ci-baseline')
2525

2626
build(
2727
propagate: false,

vars/githubCommitStatus.groovy

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ def onFinish() {
3535
// state: error|failure|pending|success
3636
def create(sha, state, description, context = 'kibana-ci') {
3737
withGithubCredentials {
38-
return githubApi.post("repos/elastic/kibana/statuses/${sha}", [ state: state, description: description, context: context, target_url: env.BUILD_URL ])
38+
return githubApi.post("repos/elastic/kibana/statuses/${sha}", [
39+
state: state,
40+
description: description,
41+
context: context,
42+
target_url: env.BUILD_URL
43+
])
3944
}
4045
}
4146

0 commit comments

Comments
 (0)