From c77f9a01eb89b22f77a0848af9b84affa84d1890 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 e357b32d80..0117eed59c 100644 --- a/buildenv/jenkins/JenkinsfileBase +++ b/buildenv/jenkins/JenkinsfileBase @@ -1241,6 +1241,7 @@ def addFailedTestsGrinderLink(paths=""){ def failedTestList = "" def jdkFailedTestCaseList = "" def hotspotFailedTestCaseList = "" + def langtoolsFailedTestCaseList = "" def jckRuntimeFailedTestCaseList = "" def jckCompilerFailedTestCaseList = "" def jckDevtoolsFailedTestCaseList = "" @@ -1265,7 +1266,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} " @@ -1278,6 +1279,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} " @@ -1305,6 +1310,9 @@ def addFailedTestsGrinderLink(paths=""){ if (hotspotFailedTestCaseList) { customizedTestCases['hotspot'] = "${hotspotFailedTestCaseList}" } + if (langtoolsFailedTestCaseList) { + customizedTestCases['langtools'] = "${langtoolsFailedTestCaseList}" + } if (jckRuntimeFailedTestCaseList) { customizedTestCases['jckruntime'] = "${jckRuntimeFailedTestCaseList}" }