mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[APM-UI][E2E] use withGithubStatus step (#90651)
This commit is contained in:
parent
cbe5f0d9ca
commit
fe6dae987e
1 changed files with 2 additions and 8 deletions
|
@ -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'))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue