Admin login does not work in Red Hat Jenkins container images

Solution Unverified - Updated -

Issue

  • Cannot login into Jenkins because the admin password was not generated.
  • The /var/lib/jenkins/password file 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content