-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 building bwc versions #40361
Fix building bwc versions #40361
Conversation
we have to account for openjdk when figuring out what java version to use for building bwc versions.
Pinging @elastic/es-core-infra |
@elasticmachine test this please |
1 similar comment
@elasticmachine test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the CI is green
@@ -169,8 +169,9 @@ bwcVersions.forPreviousUnreleased { BwcVersions.UnreleasedVersionInfo unreleased | |||
'JAVA_HOME', | |||
getJavaHome(it, Integer.parseInt( | |||
lines | |||
.findAll({ it.startsWith("ES_BUILD_JAVA=java") }) | |||
.findAll({ it.startsWith("ES_BUILD_JAVA=")}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the ES_RUNTIME_JAVA be updated too?
Should we also update the .ci/java-versions.properties ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also should we change this line below?
.collect({ it.replace("ES_BUILD_JAVA=java", "").trim() })
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually not sure if this will pass - still failing for me locally
@elasticmachine run elasticsearch-ci/1 |
Account for openjdk when figuring out what java version to use for building bwc versions.
Account for openjdk when figuring out what java version to use for building bwc versions.
…-stop-time * elastic/master: Muting test testExtractIndexCheckpointsInconsistentGlobalCheckpoints (elastic#40371) DOC: polish client docs Fix building bwc versions (elastic#40361)
* elastic/master: [DOCS] Adds notable highlights tags (elastic#40330) [ML] making test more determinate (elastic#40374) [ML] adds support for non-numeric mapped types (elastic#40220) Move outbound message handling to OutboundHandler (elastic#40336) Add implicit this for class binding in Painless (elastic#40285) Muting test testExtractIndexCheckpointsInconsistentGlobalCheckpoints (elastic#40371) DOC: polish client docs Fix building bwc versions (elastic#40361)
we have to account for openjdk when figuring out what java version to
use for building bwc versions.