How do I get initial admin password for jenkins on Mac?

前端 未结 13 1867
借酒劲吻你
借酒劲吻你 2020-12-24 11:12

I installed jenkins by downloading jenkins-2.2.pkg. After the installation is complete, Chrome auto-connected to http://localhost:8080/login?from=%2F and I see

13条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-24 11:43

    1. Navigate to this folder /Users/Shared/Jenkins/Home
    2. Right click on secrets/ folder and select "Get Info"
    3. Scroll down to the right bottom corner of the pop up window and click on the lock image > enter your password > ok
    4. Click on the "+" at the left bottom corner of the pop up window and add the user 4.5 Click on Settings icon - left bottom and Apply changes.
    5. Open the "secrets" folder and find the initialAdminPassword file to get the initial admin password. If you don't have permission to the file, you need to right click on the file and select "Get Info" then repeat step 3 and 4 above to access the file.

提交回复
热议问题