Skip to content

Commit

Permalink
Set default LIGHT_WEIGHT_CHECKOUT to true
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia committed May 31, 2023
1 parent e4a2d3c commit 28134f6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions buildenv/jenkins/aqaTestPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ JDK_VERSIONS.each { JDK_VERSION ->
string(name: 'GROUPS', value: group),
string(name: 'JDK_VERSIONS', value: JDK_VERSION),
string(name: 'ARCH_OS_LIST', value: PLATFORM),
string(name: 'JDK_IMPL', value: jdk_impl),
booleanParam(name: 'LIGHT_WEIGHT_CHECKOUT', value: false)
string(name: 'JDK_IMPL', value: jdk_impl)
]
build job: 'Test_Job_Auto_Gen', parameters: parameters, propagate: true
}
Expand All @@ -112,7 +111,6 @@ JDK_VERSIONS.each { JDK_VERSION ->
string(name: 'PARALLEL', value: PARALLEL),
string(name: 'NUM_MACHINES', value: NUM_MACHINES.toString()),
booleanParam(name: 'GENERATE_JOBS', value: AUTO_AQA_GEN),
booleanParam(name: 'LIGHT_WEIGHT_CHECKOUT', value: false),
string(name: 'TIME_LIMIT', value: TIME_LIMIT.toString()),
string(name: 'TRSS_URL', value: TRSS_URL),
string(name: 'LABEL', value: LABEL),
Expand Down
1 change: 0 additions & 1 deletion buildenv/jenkins/openjdk_tests
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ def generateJobViaAutoGen(testJobName) {
def jobParams = []
jobParams << string(name: 'TEST_JOB_NAME', value: testJobName)
jobParams << string(name: 'ARCH_OS_LIST', value: params.PLATFORM)
jobParams << booleanParam(name: 'LIGHT_WEIGHT_CHECKOUT', value: false)

def jdk_impl = params.JDK_IMPL ?: ""
def jdk_version = params.JDK_VERSION ?: ""
Expand Down
2 changes: 1 addition & 1 deletion buildenv/jenkins/testJobTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if (!binding.hasVariable('DOCKER_REGISTRY_DIR')) DOCKER_REGISTRY_DIR = ""
if (!binding.hasVariable('DOCKER_REGISTRY_URL_CREDENTIAL_ID')) DOCKER_REGISTRY_URL_CREDENTIAL_ID = ""
if (!binding.hasVariable('SLACK_CHANNEL')) SLACK_CHANNEL = ""
if (!binding.hasVariable('TRIGGER_SCHEDULE')) TRIGGER_SCHEDULE = ""
if (!binding.hasVariable('LIGHT_WEIGHT_CHECKOUT')) LIGHT_WEIGHT_CHECKOUT = false
if (!binding.hasVariable('LIGHT_WEIGHT_CHECKOUT')) LIGHT_WEIGHT_CHECKOUT = true
if (!binding.hasVariable('NUM_MACHINES')) NUM_MACHINES = ""
if (!binding.hasVariable('JDK_REPO')) JDK_REPO = ""
if (!binding.hasVariable('JDK_BRANCH')) JDK_BRANCH = ""
Expand Down

0 comments on commit 28134f6

Please sign in to comment.