Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for CUSTOMIZED_SDK_URL path issue #5948

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

dennycjacob
Copy link
Contributor

This update is a fix for CUSTOMIZED_SDK_URL path . The script adds "/" at the end if it is missing
Fixes: #5947
Signed-off-by: Denny Chacko Jacob [email protected]

@dennycjacob
Copy link
Contributor Author

dennycjacob commented Feb 11, 2025

Grinder link, when there is no / at the end of CUSTOMIZED_SDK_URL:
https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/Grinder/47850/. - PASS

Grinder link, when there is / at the end of CUSTOMIZED_SDK_URL:
https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/Grinder/47851/ -PASS

get.sh Outdated
@@ -212,6 +212,9 @@ getBinaryOpenjdk()
fi

if [ "$SDK_RESOURCE" == "nightly" ] && [ "$CUSTOMIZED_SDK_URL" != "" ]; then
if [[ ! "${CUSTOMIZED_SDK_URL}" =~ /$ ]]; then
CUSTOMIZED_SDK_URL="${CUSTOMIZED_SDK_URL}/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace

Copy link
Contributor

@llxia llxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dennycjacob . As mentioned, please fix the indentation. Otherwise, the PR looks good.

This update is a fix for CUSTOMIZED_SDK_URL path . The script adds "/" at the end if it is missing
Update indentation in get.sh
Fixes: adoptium#5947
Signed-off-by: Denny Chacko Jacob [email protected]
@karianna karianna merged commit a9f1c83 into adoptium:master Feb 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Openj9 nightly CUSTOMIZED_SDK_URL
3 participants