Bug 1974338
| Summary: | [OCP4.7] maven image doesn't use JAVA_HOME env variable | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mario Abajo <mabajodu> |
| Component: | Jenkins | Assignee: | Akram Ben Aissi <abenaiss> |
| Status: | CLOSED ERRATA | QA Contact: | Jitendar Singh <jitsingh> |
| Severity: | low | Docs Contact: | Rolfe Dlugy-Hegwer <rdlugyhe> |
| Priority: | high | ||
| Version: | 4.6 | CC: | abenaiss, adam.kaplan, aos-bugs, gmontero, pbhattac, rdlugyhe |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| 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: | 2021-10-18 17:35: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
Mario Abajo
2021-06-21 12:12:31 UTC
JAVA_HOME is not listed as one of the environment variables available to the maven agent image [1]. The maven agent image supports switching the java version via the USE_JAVA_VERSION environment variable. However, this env var is not documented [2]. See also Bug #1861266. [1] https://docs.openshift.com/container-platform/4.7/openshift_images/using_images/images-other-jenkins-agent.html#images-other-jenkins-agent-env-var_images-other-jenkins-agent [2] https://github.com/openshift/jenkins/blob/master/slave-base/contrib/bin/run-jnlp-client#L16 VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |