Friday, May 8, 2015

How to reset Jenkins admin password



For reset jenkin admin password if you forgot just login server via terminal & edit

/var/lib/jenkins/users/username/config.xml file  and update the contents of passwordHash:
Replace with current with below.

#jbcrypt:$2a$10$SmpPO.crN1akTcBmuiIPhOGqVL82RtBQlgaX9u3/4CKUtFNS9Iesy

Save file and restart Jenkins service  now able to login with password “ India@123”

4 comments:

Unknown said...

You saved my day. This url should come up as first link when doing search on google about jenkins admin users password reset.

Unknown said...

Really useful.

Ishwar said...

Very helpful..

Unknown said...

Hello team,

i am not able to login into jenkins console.kindly help me troubelshooting steps .

Post a Comment