Skip to content

Commit

Permalink
Merge pull request #251 from llxia/test2
Browse files Browse the repository at this point in the history
Fix vendor repo missing issue for regular test builds
  • Loading branch information
AdamBrousseau authored Nov 1, 2024
2 parents 38a9141 + 2cfbc8e commit bd4436a
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -502,21 +502,29 @@ class Build {
def VENDOR_TEST_BRANCHES = ''
def VENDOR_TEST_DIRS = ''
if ("${testType}".contains('functional')) {
if (fipsTestBuildSuffix && !"${fipsTestBuildSuffix}".contains("fips")) {
VENDOR_TEST_REPOS = '[email protected]:runtimes/test.git'
VENDOR_TEST_BRANCHES = aqaBranch
VENDOR_TEST_DIRS = 'functional'
VENDOR_TEST_REPOS = '[email protected]:runtimes/test.git'
VENDOR_TEST_BRANCHES = aqaBranch
VENDOR_TEST_DIRS = 'functional'
// do not set functional vendor repo for FIPS
if (fipsTestBuildSuffix && "${fipsTestBuildSuffix}".contains("fips")) {
VENDOR_TEST_REPOS = ''
VENDOR_TEST_BRANCHES = ''
VENDOR_TEST_DIRS = ''
}
customizedSdkUrl += " " + testimageUrl
} else if ("${testType}".contains('jck')) {
VENDOR_TEST_REPOS = '[email protected]:runtimes/jck.git'
VENDOR_TEST_BRANCHES = "main"
VENDOR_TEST_DIRS = 'jck'
} else if ("${testType}".contains('special.openjdk')) {
if (fipsTestBuildSuffix && !"${fipsTestBuildSuffix}".contains("fips")) {
VENDOR_TEST_REPOS = '[email protected]:runtimes/osb-tests.git'
VENDOR_TEST_BRANCHES = "ibm_tlda"
VENDOR_TEST_DIRS = 'openjdk'
VENDOR_TEST_REPOS = '[email protected]:runtimes/osb-tests.git'
VENDOR_TEST_BRANCHES = "ibm_tlda"
VENDOR_TEST_DIRS = 'openjdk'
// do not set openjdk vendor repo for FIPS
if (fipsTestBuildSuffix && "${fipsTestBuildSuffix}".contains("fips")) {
VENDOR_TEST_REPOS = ''
VENDOR_TEST_BRANCHES = ''
VENDOR_TEST_DIRS = ''
}
}

Expand Down

0 comments on commit bd4436a

Please sign in to comment.