Admin login does not work in Red Hat Jenkins container images
Issue
- Cannot login into Jenkins because the admin password was not generated.
- The
/var/lib/jenkins/passwordfile is empty. - The initial Jenkins password is not showing up in the startup logs.
-
Jenkins containers are reporting the following error:
jenkins Exception NoClassDefFoundError: org/mindrot/jbcrypt/BCrypt
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.16
- 4.17
- 4.18
- 4.19
- Red Hat Jenkins container image
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.