Skip to content

Commit

Permalink
[APM-UI][E2E] use withGithubStatus step (#90651)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Feb 9, 2021
1 parent cbe5f0d commit fe6dae9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .ci/end2end.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,9 @@ pipeline {
}

def notifyStatus(String description, String status) {
notify(context: 'end2end-for-apm-ui', description: description, status: status, targetUrl: getBlueoceanTabURL('pipeline'))
withGithubStatus.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('pipeline'))
}

def notifyTestStatus(String description, String status) {
notify(context: 'end2end-for-apm-ui', description: description, status: status, targetUrl: getBlueoceanTabURL('tests'))
}

def notify(Map args = [:]) {
retryWithSleep(retries: 2, seconds: 5, backoff: true) {
githubNotify(context: args.context, description: args.description, status: args.status, targetUrl: args.targetUrl)
}
withGithubStatus.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('tests'))
}

0 comments on commit fe6dae9

Please sign in to comment.