From 31b35bbe0a7da3b4805ffd6f9dab7d24d58164eb Mon Sep 17 00:00:00 2001 From: sophia-guo Date: Fri, 17 Jan 2025 08:18:15 -0500 Subject: [PATCH] Enable rerun job with langtools_custom target (#5876) * Enable rerun job with langtools_custom target Signed-off-by: Sophia Guo * Test only Signed-off-by: Sophia Guo --------- Signed-off-by: Sophia Guo --- buildenv/jenkins/JenkinsfileBase | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/buildenv/jenkins/JenkinsfileBase b/buildenv/jenkins/JenkinsfileBase index 2a4d2d6acc..376f0f89de 100644 --- a/buildenv/jenkins/JenkinsfileBase +++ b/buildenv/jenkins/JenkinsfileBase @@ -1245,6 +1245,7 @@ def addFailedTestsGrinderLink(paths=""){ def failedTestList = "" def jdkFailedTestCaseList = "" def hotspotFailedTestCaseList = "" + def langtoolsFailedTestCaseList = "" def jckRuntimeFailedTestCaseList = "" def jckCompilerFailedTestCaseList = "" def jckDevtoolsFailedTestCaseList = "" @@ -1269,7 +1270,7 @@ def addFailedTestsGrinderLink(paths=""){ if (failedtest.startsWith("jdk_")) { if (!jdkFailedTestCaseList.contains(failedTestCasesInfo)) { jdkFailedTestCaseList += "${failedTestCasesInfo} " - } + } } else if (failedtest.startsWith("jck-runtime") || failedtest.startsWith("jckruntime")) { if (!jckRuntimeFailedTestCaseList.contains(failedTestCasesInfo)) { jckRuntimeFailedTestCaseList += "${failedTestCasesInfo} " @@ -1282,6 +1283,10 @@ def addFailedTestsGrinderLink(paths=""){ if (!jckDevtoolsFailedTestCaseList.contains(failedTestCasesInfo)) { jckDevtoolsFailedTestCaseList += "${failedTestCasesInfo} " } + } else if (failedtest.startsWith("langtools_")){ + if (!langtoolsFailedTestCaseList.contains(failedTestCasesInfo)) { + langtoolsFailedTestCaseList += "${failedTestCasesInfo} " + } } else { if (!hotspotFailedTestCaseList.contains(failedTestCasesInfo)) { hotspotFailedTestCaseList += "${failedTestCasesInfo} " @@ -1309,6 +1314,9 @@ def addFailedTestsGrinderLink(paths=""){ if (hotspotFailedTestCaseList) { customizedTestCases['hotspot'] = "${hotspotFailedTestCaseList}" } + if (langtoolsFailedTestCaseList) { + customizedTestCases['langtools'] = "${langtoolsFailedTestCaseList}" + } if (jckRuntimeFailedTestCaseList) { customizedTestCases['jckruntime'] = "${jckRuntimeFailedTestCaseList}" }