Skip to content

Include java version information in reproduction info #31898

@alpar-t

Description

@alpar-t

As brought up in #31739 we should print the Java version in the reproduction line as:

JAVA_HOME=$JAVA10_HOME RUNTIME_JAVA_HOME=$JAVA11_HOME ./gradlew

This will work because the build already requires people to have these env vars set.
We could also include the full paths instead of the env vars, as the build will have to pass in information anyhow for this to work as the test runner will not be aware what was used to build the tests.

This will help reproduce issues that are specific to some java versions without requiring one to look at how the CI job is configured.

Metadata

Metadata

Assignees

Labels

:Delivery/BuildBuild or test infrastructureTeam:DeliveryMeta label for Delivery team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions