Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1861266

Summary: [DOCS] New USE_JAVA_VERSION variable not documented
Product: OpenShift Container Platform Reporter: Jonas Nordell <jnordell>
Component: DocumentationAssignee: Rolfe Dlugy-Hegwer <rdlugyhe>
Status: CLOSED EOL QA Contact: Xiaoli Tian <xtian>
Severity: unspecified Docs Contact: Petr Kovar <pkovar>
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, gmontero, kalexand
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-01 15:09:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonas Nordell 2020-07-28 08:01:23 UTC
Document URL: 

https://access.redhat.com/documentation/en-us/openshift_container_platform/3.11/html/using_images/other-images#configuration-and-customization

https://docs.openshift.com/container-platform/3.11/using_images/other_images/jenkins_slaves.html#environment-variables

Section Number and Name: 

Jenkins Agents - Configuration and Customization >> Environment variables

Describe the issue: 

With the introduction of OpenJDK 11 support in the 3.11 Maven 3.5 Jenkins Agent image, a new environment variable was introduced named "USE_JAVA_VERSION" [0]. This new variable is not found anywhere in the documentation.

https://github.com/openshift/jenkins/blob/openshift-3.11/slave-base/contrib/bin/run-jnlp-client#L24

Suggestions for improvement: 

The behavior and possible usage of this variable should be documented. At least mentioning that it exists and that it is possible to switch between java-1.8.0 and java-11 if necessary. 

Additional information:

Comment 5 Kathryn Alexander 2022-12-01 15:09:50 UTC
Closing this bug as 3.x is EOL. If this bug needs to be fixed in 4.8.z+ versions, then please open a Jira in the OCPBUGS project with specific details on what needs to be updated in the documentation.

Comment 6 Red Hat Bugzilla 2023-09-18 00:21:53 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days