From 1b9bf59ab5fb56809616090e79a860f1092c17db Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 8 Feb 2021 16:57:46 +0000 Subject: [PATCH 1/2] Revert "[APM-UI][E2E] use githubNotify step (#90514)" This reverts commit d201ed756f79bae54e1d4b03c44ecdf3ea3bdda6. --- .ci/end2end.groovy | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.ci/end2end.groovy b/.ci/end2end.groovy index a89ff166bf32e..025836a90204c 100644 --- a/.ci/end2end.groovy +++ b/.ci/end2end.groovy @@ -121,15 +121,9 @@ pipeline { } def notifyStatus(String description, String status) { - notify(context: 'end2end-for-apm-ui', description: description, status: status, targetUrl: getBlueoceanTabURL('pipeline')) + withGithubNotify.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) - } + withGithubNotify.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('tests')) } From 05975eb81361ddb3f39a6acfe7a5d68fd31b0392 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 8 Feb 2021 16:58:49 +0000 Subject: [PATCH 2/2] [APM-UI][E2E] use withGithubStatus step --- .ci/end2end.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/end2end.groovy b/.ci/end2end.groovy index 025836a90204c..87b64437deafc 100644 --- a/.ci/end2end.groovy +++ b/.ci/end2end.groovy @@ -121,9 +121,9 @@ pipeline { } def notifyStatus(String description, String status) { - withGithubNotify.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('pipeline')) + withGithubStatus.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('pipeline')) } def notifyTestStatus(String description, String status) { - withGithubNotify.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('tests')) + withGithubStatus.notify('end2end-for-apm-ui', description, status, getBlueoceanTabURL('tests')) }