From 6bcacf67aa8c3f88dab6165a1703c458d98d922d 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 | 9 +++++++-- test-result-summary-client/src/Build/TestTable.jsx | 2 +- 2 files changed, 8 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..df59c6b1 100644 --- a/test-result-summary-client/src/Build/GitNewIssue.jsx +++ b/test-result-summary-client/src/Build/GitNewIssue.jsx @@ -196,6 +196,11 @@ const GitNewissue = () => { const { testId, testName, buildId } = getParams(location.search); const urlParams = params({ title, body }); + let issueUrl = 'https://github.com/adoptium/aqa-tests/'; + let allowedHosts = ['trssrtp1.fyre.ibm.com']; + if (allowedHosts.includes(window.location.hostname)) { + 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 }), }} > - + {' '}