Skip to content

Commit 13e843e

Browse files
committed
Leave CUSTOM_TARGET as is if custom testcases can't work for rerun
Signed-off-by: Sophia Guo <[email protected]>
1 parent 899ed4b commit 13e843e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

buildenv/jenkins/JenkinsfileBase

+4
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,11 @@ def triggerRerunJob () {
13601360
childParams << string(name: param.key, value: "testList TESTLIST=" + env.FAILED_TESTS)
13611361
}
13621362
} else if (param.key == "CUSTOM_TARGET") {
1363+
if (env.RERUN_TESTCASES) {
13631364
childParams << string(name: param.key, value: env.RERUN_TESTCASES)
1365+
} else {
1366+
childParams << string(name: param.key, value: param.value.toString())
1367+
}
13641368
} else if (param.key == "PARALLEL") {
13651369
childParams << string(name: param.key, value: "None")
13661370
} else if (param.key == "NUM_MACHINES") {

0 commit comments

Comments
 (0)