Skip to content

Commit

Permalink
Enable rerun job with langtools_custom target (#5876)
Browse files Browse the repository at this point in the history
* Enable rerun job with langtools_custom target

Signed-off-by: Sophia Guo <[email protected]>

* Test only

Signed-off-by: Sophia Guo <[email protected]>

---------

Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo authored Jan 17, 2025
1 parent e748498 commit 31b35bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,7 @@ def addFailedTestsGrinderLink(paths=""){
def failedTestList = ""
def jdkFailedTestCaseList = ""
def hotspotFailedTestCaseList = ""
def langtoolsFailedTestCaseList = ""
def jckRuntimeFailedTestCaseList = ""
def jckCompilerFailedTestCaseList = ""
def jckDevtoolsFailedTestCaseList = ""
Expand All @@ -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} "
Expand All @@ -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} "
Expand Down Expand Up @@ -1309,6 +1314,9 @@ def addFailedTestsGrinderLink(paths=""){
if (hotspotFailedTestCaseList) {
customizedTestCases['hotspot'] = "${hotspotFailedTestCaseList}"
}
if (langtoolsFailedTestCaseList) {
customizedTestCases['langtools'] = "${langtoolsFailedTestCaseList}"
}
if (jckRuntimeFailedTestCaseList) {
customizedTestCases['jckruntime'] = "${jckRuntimeFailedTestCaseList}"
}
Expand Down

0 comments on commit 31b35bb

Please sign in to comment.