From f094133028125be9127b31c3ac8d0b84fe1aaf77 Mon Sep 17 00:00:00 2001 From: Lan Xia Date: Thu, 7 Mar 2024 15:59:02 -0500 Subject: [PATCH] Create new git issue at openj9 repo Signed-off-by: Lan Xia --- test-result-summary-client/src/Build/GitNewIssue.jsx | 8 ++++++-- test-result-summary-client/src/Build/TestTable.jsx | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/test-result-summary-client/src/Build/GitNewIssue.jsx b/test-result-summary-client/src/Build/GitNewIssue.jsx index 93f2ff3a..4986c543 100644 --- a/test-result-summary-client/src/Build/GitNewIssue.jsx +++ b/test-result-summary-client/src/Build/GitNewIssue.jsx @@ -196,6 +196,10 @@ const GitNewissue = () => { const { testId, testName, buildId } = getParams(location.search); const urlParams = params({ title, body }); + let issueUrl = 'https://github.com/adoptium/aqa-tests/'; + if (window.location.hostname.indexOf('.fyre.ibm.com') > -1) { + issueUrl = 'https://github.com/eclipse-openj9/openj9/'; + } return (
{ bordered={true} style={{ width: '100%' }} extra={ - + diff --git a/test-result-summary-client/src/Build/TestTable.jsx b/test-result-summary-client/src/Build/TestTable.jsx index 37356880..37c5f525 100644 --- a/test-result-summary-client/src/Build/TestTable.jsx +++ b/test-result-summary-client/src/Build/TestTable.jsx @@ -158,7 +158,7 @@ export default class TestTable extends Component { search: params({ testId, buildId }), }} > - + {' '}