1

I am new to Jenkins. While I am trying to install Jenkins in Linux in my laptop and deployed the jenkins.war in apache server and tried to start jenkins using homepage using url https://localhost:8080/jenkins , but it's asking for username and password, I have given admin and system generated password on apache server and all other admin/ admin also but nothing working.

Can anyone tell me the default username and password for Jenkins?

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
user2631600
  • 759
  • 1
  • 11
  • 18
  • http://stackoverflow.com/a/28906663/2484006 Does this answer help you? Modified to match where you installed jenkins on your machine – Julian May 12 '17 at 18:26
  • Hi thank you for your response, i have forgot to mention this i am trying to install it in windows machine not in linux..can u please help me to guide me... – user2631600 May 13 '17 at 01:13
  • The jenkins installation itself shouldn't be very different. One of the nice things about java. So if you find your windows directory where jenkins is installed, those instructions may still help. (The point there, is to find your jenkins install directory, and then open the config.xml file in a text editor, where you will be able to set your security setttings to let you in without a password) – Julian May 13 '17 at 03:58

1 Answers1

0

Check the content of /var/lib/jenkins/secrets/initialAdminPassword. If jenkins home is different then /secrets/initialAdminPassword.

Marcos Pagnucco
  • 351
  • 1
  • 5