In Maven image for OCP, the env var pointing to maven is incorrectly set
VERIFIED USING DOCKER INSPECT THE ENV VAR HAS BEEN SET PROPERLY "MAVEN_VERSION=3.6", Fixed MAVEN _VERSION env var ====================== "Data": { "LowerDir": "/var/lib/docker/overlay2/a9672b823d886d3d659116a64852ca49c7fa79b7f6ec0fdeece175e7c4d126bf-init/diff:/var/lib/docker/overlay2/acae49dfbc5cbd441aeaa004a4078ed9a7b3ff1d825ef64b885e0272212830bf/diff:/var/lib/docker/overlay2/a6a5af4582c940c25c6de9b583a6e571bddcdddd04d99c5bdd4231356c73fb9b/diff:/var/lib/docker/overlay2/fef3e6dde0120dc3b9c2449f403d18c615e793741c99509e5ade891f4f9ac843/diff:/var/lib/docker/overlay2/cccef4c626f9127d9a7d76873a50c8a015549328fec6a37136d3245b6d17c698/diff:/var/lib/docker/overlay2/6cec0cdb0cf76f48cebb647f26a0320e98e01ac3ec39a52ae0c0640459afb80a/diff:/var/lib/docker/overlay2/7d449b67fac223caa41bfdd9d886e94736eaf0caec13a2bef548d78b1a78b8b5/diff:/var/lib/docker/overlay2/67c1dd38c3313f234c33ebecdf164554137fab577724a2f0a6f9aabbdf4bc7fe/diff", "MergedDir": "/var/lib/docker/overlay2/a9672b823d886d3d659116a64852ca49c7fa79b7f6ec0fdeece175e7c4d126bf/merged", "UpperDir": "/var/lib/docker/overlay2/a9672b823d886d3d659116a64852ca49c7fa79b7f6ec0fdeece175e7c4d126bf/diff", "WorkDir": "/var/lib/docker/overlay2/a9672b823d886d3d659116a64852ca49c7fa79b7f6ec0fdeece175e7c4d126bf/work" }, "Name": "overlay2" }, "Mounts": [], "Config": { "Hostname": "533d17f92da2", "Domainname": "", "User": "1001", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "__doozer=merge", "BUILD_RELEASE=1.git.10eb612", "BUILD_VERSION=v3.11.462", "OS_GIT_MAJOR=3", "OS_GIT_MINOR=11", "OS_GIT_PATCH=462", "OS_GIT_TREE_STATE=clean", "OS_GIT_VERSION=3.11.462-1.git.10eb612-10eb612", "SOURCE_GIT_TREE_STATE=clean", "OS_GIT_COMMIT=10eb612", "SOURCE_DATE_EPOCH=1624346582", "SOURCE_GIT_COMMIT=10eb612c7632d519de712ca76ac63167574dd1ed", "SOURCE_GIT_TAG=10eb612", "SOURCE_GIT_URL=https://github.com/openshift/jenkins", "MAVEN_VERSION=3.6", "BASH_ENV=/usr/local/bin/scl_enable", "ENV=/usr/local/bin/scl_enable", "PROMPT_COMMAND=. /usr/local/bin/scl_enable", "MAVEN_OPTS=-Duser.home=/home/jenkins", "HOME=/home/jenkins", "KUBE_GIT_COMMIT=d4cacc043ac762235e16cb7361d527cb4189393c", "KUBE_GIT_MAJOR=1", "KUBE_GIT_MINOR=11+", "KUBE_GIT_TREE_STATE=clean", "KUBE_GIT_VERSION=v1.11.0+e7d0362", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "container=oci"
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 (Important: OpenShift Container Platform 3.11.462 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:2517