What is the default Jenkins password?

前端 未结 19 2300
情话喂你
情话喂你 2020-12-01 04:11

I\'m using a EC2 server instance. Used the following to install Jenkins:

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add          


        
19条回答
  •  盖世英雄少女心
    2020-12-01 04:37

    The password is present in the log generated by docker run image as shown in the example below.

    Jenkins Docker run log

    Additionally you can check the directory /var/jenkins_home/secrets/ Its in the file name initialAdminPassword

    You can use cat /var/jenkins_home/secrets/initialAdminPassword to read it.

提交回复
热议问题