Skip to content

Commit

Permalink
Leave CUSTOM_TARGET as is if custom testcases can't work for rerun
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Jun 13, 2024
1 parent 899ed4b commit 13e843e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,11 @@ def triggerRerunJob () {
childParams << string(name: param.key, value: "testList TESTLIST=" + env.FAILED_TESTS)
}
} else if (param.key == "CUSTOM_TARGET") {
if (env.RERUN_TESTCASES) {
childParams << string(name: param.key, value: env.RERUN_TESTCASES)
} else {
childParams << string(name: param.key, value: param.value.toString())
}
} else if (param.key == "PARALLEL") {
childParams << string(name: param.key, value: "None")
} else if (param.key == "NUM_MACHINES") {
Expand Down

0 comments on commit 13e843e

Please sign in to comment.