Skip to content

Commit

Permalink
Merge pull request #17497 from llxia/mytest
Browse files Browse the repository at this point in the history
Set LIGHT_WEIGHT_CHECKOUT to true
  • Loading branch information
AdamBrousseau authored Jun 1, 2023
2 parents 423823f + 0a6f974 commit 283b706
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions buildenv/jenkins/common/pipeline-functions.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -615,12 +615,6 @@ def generate_test_jobs(TESTS, SPEC, ARTIFACTORY_SERVER, ARTIFACTORY_REPO) {
auto_detect = false
}

// LIGHT_WEIGHT_CHECKOUT=false is needed for the releases in order for test jobs to consume ADOPTOPENJDK_REPO and ADOPTOPENJDK_BRANCH
def light_weight_checkout = true
if (BUILD_IDENTIFIER.toLowerCase() == "release") {
light_weight_checkout = false
}

if (levels && groups) {
def parameters = [
string(name: 'LEVELS', value: levels.join(',')),
Expand All @@ -633,7 +627,7 @@ def generate_test_jobs(TESTS, SPEC, ARTIFACTORY_SERVER, ARTIFACTORY_REPO) {
string(name: 'ARTIFACTORY_REPO', value: ARTIFACTORY_REPO),
string(name: 'BUILDS_TO_KEEP', value: DISCARDER_NUM_BUILDS),
booleanParam(name: 'AUTO_DETECT', value: auto_detect),
booleanParam(name: 'LIGHT_WEIGHT_CHECKOUT', value: light_weight_checkout)
booleanParam(name: 'LIGHT_WEIGHT_CHECKOUT', value: true)
]
build job: 'Test_Job_Auto_Gen', parameters: parameters, propagate: false
}
Expand Down

0 comments on commit 283b706

Please sign in to comment.