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

Commit

Permalink
ci: debug the githubNotify (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Apr 15, 2021
1 parent 4928c6c commit 7bca1dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/integrationTestSelector.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,13 @@ def wrappingup(Map params = [:]){
**/
def githubCheckNotify(String status) {
if (params.GITHUB_CHECK_NAME?.trim() && params.GITHUB_CHECK_REPO?.trim() && params.GITHUB_CHECK_SHA1?.trim()) {
log(level: 'INFO', text: "githubCheckNotify: ${params.GITHUB_CHECK_NAME}=${status} for elastic/${params.GITHUB_CHECK_REPO}.git@${params.GITHUB_CHECK_SHA1}")
githubNotify context: "${params.GITHUB_CHECK_NAME}",
description: "${params.GITHUB_CHECK_NAME} ${status.toLowerCase()}",
status: "${status}",
targetUrl: "${env.RUN_DISPLAY_URL}",
sha: params.GITHUB_CHECK_SHA1, account: 'elastic', repo: params.GITHUB_CHECK_REPO, credentialsId: env.JOB_GIT_CREDENTIALS
} else {
log(level: 'INFO', text: 'githubCheckNotify: is not enabled.')
}
}

0 comments on commit 7bca1dc

Please sign in to comment.