Skip to content

Commit

Permalink
Merge pull request #207 from llxia/test3
Browse files Browse the repository at this point in the history
Set jreUrl for special.openjdk
  • Loading branch information
AdamBrousseau authored Feb 12, 2024
2 parents fabd9c3 + 15e1320 commit bc6f7db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class Build {
Map<String,String> dependency_version = new HashMap<String,String>()
String crossCompileVersionPath = ''
String jdkUrl = ''
String jreUrl = ''
String testimageUrl = ''
String artifactoryCredential = ''
String artifactoryBaseUrl = ''
Expand Down Expand Up @@ -386,6 +387,9 @@ class Build {
if (("${testType}".contains('openjdk'))) {
// Keep test reportdir always for JUnit targets
keep_test_reportdir = true
if (("${testType}".contains('special'))) {
customizedSdkUrl += " " + jreUrl
}
customizedSdkUrl += " " + testimageUrl
} else if ("${testType}".contains('jck')) {
// Keep test reportdir always for JUnit targets
Expand Down Expand Up @@ -2062,6 +2066,8 @@ class Build {
def artifactName = artifactUrl.substring(artifactUrl.lastIndexOf("/") + 1);
if (artifactUrl.contains("-jdk_")) {
jdkUrl = artifactUrl
} else if (artifactUrl.contains("-jre_")) {
jreUrl = artifactUrl
} else if (artifactUrl.contains("-testimage_")) {
testimageUrl = artifactUrl
}
Expand Down

0 comments on commit bc6f7db

Please sign in to comment.