Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (29.3k points)

I have downloaded Jenkins on Windows10. When I try to access Jenkins, it is asking for username and password. I have read the threads on the same issue. But I do not find any secrets folder or config.xml file under Jenkins folder.

1 Answer

+1 vote
by (50.2k points)

For this the Username is admin. Password should be located in:

$JENKINS_HOME/secrets/initialAdminPassword

You can view the password using:

cat /var/lib/jenkins/secrets/initialAdminPassword

or

cat $JENKINS_HOME/secrets/initialAdminPassword

Also, if you wish, you can learn more about Jenkins on Jenkins Tutorial and join Jenkins Certification

Related questions

Browse Categories

...