Skip to content

Commit

Permalink
Set RERUN_FAILURE in testJobTemplate (#5837)
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia authored Jan 2, 2025
1 parent 0020a2e commit 3782496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildenv/jenkins/testJobTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ if (!binding.hasVariable('VENDOR_TEST_DIRS')) VENDOR_TEST_DIRS = ""
if (!binding.hasVariable('USER_CREDENTIALS_ID')) USER_CREDENTIALS_ID = ""
if (!binding.hasVariable('GENERATE_JOBS')) GENERATE_JOBS = false
if (!binding.hasVariable('CLOUD_PROVIDER')) CLOUD_PROVIDER = ""
if (!binding.hasVariable('RERUN_FAILURE')) RERUN_FAILURE = false
if (!binding.hasVariable('RERUN_ITERATIONS')) RERUN_ITERATIONS = "0"
if (!binding.hasVariable('JENKINS_KEY')) JENKINS_KEY = ""
if (!binding.hasVariable('RELATED_NODES')) RELATED_NODES = ""
Expand Down Expand Up @@ -449,6 +450,7 @@ ARCH_OS_LIST.each { ARCH_OS ->
stringParam('SLACK_CHANNEL', SLACK_CHANNEL, "Slack channel. e.g., #rt-jenkins")
booleanParam('PERSONAL_BUILD', false, "Is this a personal build?")
booleanParam('USE_TESTENV_PROPERTIES', USE_TESTENV_PROPERTIES.toBoolean(), "use properties defined in the testenv.properties")
booleanParam('RERUN_FAILURE', RERUN_FAILURE.toBoolean(), "If set to true, auto rerun test child builds in FAILURE status.")
stringParam('RERUN_ITERATIONS', RERUN_ITERATIONS, "Optional. Number of times to repeat execution of failed test target(s).")
booleanParam('SETUP_JCK_RUN', SETUP_JCK_RUN.toBoolean(), "setup jdk during release for jck interactive run")
stringParam('JENKINS_KEY', JENKINS_KEY, "Optional. Only use this for Multi-node Compiler TCK tests")
Expand Down

0 comments on commit 3782496

Please sign in to comment.