From 047d92db5e185480ee7edcc9f5815f3cc8adb98e Mon Sep 17 00:00:00 2001 From: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com> Date: Fri, 17 Dec 2021 11:38:19 +0100 Subject: [PATCH] improve success and fail messages, re-generated api reports Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com> --- plugins/jenkins/api-report.md | 4 ++-- .../jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/jenkins/api-report.md b/plugins/jenkins/api-report.md index 829256e22d..a6926c1639 100644 --- a/plugins/jenkins/api-report.md +++ b/plugins/jenkins/api-report.md @@ -72,7 +72,7 @@ export interface JenkinsApi { entity: EntityName; jobFullName: string; buildNumber: string; - }): Promise; + }): Promise; } // Warning: (ae-missing-release-tag) "jenkinsApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -117,7 +117,7 @@ export class JenkinsClient implements JenkinsApi { entity: EntityName; jobFullName: string; buildNumber: string; - }): Promise; + }): Promise; } // Warning: (ae-missing-release-tag) "jenkinsPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) diff --git a/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx b/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx index cbc46248cf..34afbc7198 100644 --- a/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx +++ b/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx @@ -186,13 +186,13 @@ const generatedColumns: TableColumn[] = [ try { await row.onRestartClick(); alertApi.post({ - message: 'Jenkins re-build has been successfully executed', + message: 'Jenkins re-build has successfully executed', severity: 'success', }); } catch (e) { if (e instanceof ResponseError) { alertApi.post({ - message: `Jenkins re-build has been failed. Error: ${e.message}`, + message: `Jenkins re-build has failed. Error: ${e.message}`, severity: 'error', }); }