✘ jsingh@localhost ~/go/src/github.com/redhat-developer/jenkins/openshift/templates ➦ 1c19ede oc project jenkins-test Now using project "jenkins-test" on server "https://api.jenkins-bugs-ver-4.4.8.qe.devcluster.openshift.com:6443". jsingh@localhost ~/go/src/github.com/redhat-developer/jenkins/openshift/templates ➦ 1c19ede oc get pods NAME READY STATUS RESTARTS AGE jenkins-1-build 0/1 Completed 0 36m jenkins-1-deploy 0/1 Completed 0 27m jenkins-1-tszxk 1/1 Running 0 27m jsingh@localhost ~/go/src/github.com/redhat-developer/jenkins/openshift/templates ➦ 1c19ede oc rsh jenkins-1-tszxk sh-4.2$ java version Error: Could not find or load main class version Caused by: java.lang.ClassNotFoundException: version sh-4.2$ java -version openjdk version "11.0.7" 2020-04-14 LTS OpenJDK Runtime Environment 18.9 (build 11.0.7+10-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.7+10-LTS, mixed mode, sharing) ===================================================================================== -default JAVA version set to 11 -oauth tested -pipeline build successful ======================================================================================= 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, 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/RHBA-2020:2580
*** Bug 1784147 has been marked as a duplicate of this bug. ***