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

Bug 1828939

Summary: jenkins oauth integration is broken on JDK 11
Product: OpenShift Container Platform Reporter: jawed <jkhelil>
Component: JenkinsAssignee: Akram Ben Aissi <abenaiss>
Status: CLOSED ERRATA QA Contact: Jitendar Singh <jitsingh>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.4CC: abenaiss, aos-bugs, bparees, gmontero, jkhelil, pbhattac, scuppett, ssadeghi, vbobade, xiuwang
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1783530 Environment:
Last Closed: 2020-06-23 00:57:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1783530    
Bug Blocks:    

Comment 3 Jitendar Singh 2020-06-16 22:32:56 UTC
 ✘ 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

Comment 5 errata-xmlrpc 2020-06-23 00:57:24 UTC
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

Comment 6 Akram Ben Aissi 2020-06-23 18:01:57 UTC
*** Bug 1784147 has been marked as a duplicate of this bug. ***