+1 vote
1 view
in Devops and Agile by (28.1k 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 (48k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...