Skip to content

Commit

Permalink
Add trailing slash in the SDK url (adoptium#5559)
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 Sep 6, 2024
1 parent 17c8000 commit c562831
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion buildenv/jenkins/aqaTestPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,12 @@ def generateJobs(jobJdkVersion, jobTestFlag, jobPlatforms, jobTargets) {

if (SDK_RESOURCE == "customized" ) {
if (params.TOP_LEVEL_SDK_URL) {
def url = params.TOP_LEVEL_SDK_URL
if (!url.endsWith("/")) {
url = "${params.TOP_LEVEL_SDK_URL}/"
}
// example: <jenkins_url>/job/build-scripts/job/openjdk11-pipeline/123/artifact/target/linux/aarch64/openj9/*_aarch64_linux_*.tar.gz/*zip*/openj9.zip
download_url = params.TOP_LEVEL_SDK_URL + "artifact/target/${os}/${arch}/${params.VARIANT}/${filter}/*zip*/${params.VARIANT}.zip"
download_url = "${url}artifact/target/${os}/${arch}/${params.VARIANT}/${filter}/*zip*/${params.VARIANT}.zip"
}
} else if (SDK_RESOURCE == "releases") {
if (params.VARIANT == "openj9") {
Expand Down

0 comments on commit c562831

Please sign in to comment.