Jenkins 第一次访问时提示Unlock Jenkins

Jenkins启动后录入网址提示Unlock Jenkins,To ensure Jenkins is securely set up by the administrator

Jenkins启动后,录入网址提示:Unlock Jenkins,To ensure Jenkins is securely set up by the administrator, a password has been written to the log (not sure where to find it?) and this file on the server:
C:Users123.jenkinssecretsinitialAdminPassword,Please copy the password from either location and paste it below.

解决办法:C:Users123.jenkinssecretsinitialAdminPassword去这个路径下找到password,复制粘贴到unlock的页面上即可。

也许打开
initialAdminPassword会报错,提示“系统找不到指定的路径”,我猜是文件夹访问的问题,此时我们把initialAdminPassword复制到桌面再打开就可以了。
原文地址:https://www.cnblogs.com/lystbc/p/7573756.html