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:\Users\123\.jenkins\secrets\initialAdminPassword,Please copy the password from either location and paste it below.

解决办法:C:\Users\123\.jenkins\secrets\initialAdminPassword去这个路径下找到password,复制粘贴到unlock的页面上即可。

也许打开
initialAdminPassword会报错,提示“系统找不到指定的路径”,我猜是文件夹访问的问题,此时我们把initialAdminPassword复制到桌面再打开就可以了。
posted @ 2017-09-22 10:55  糖宝虫  阅读(1142)  评论(0编辑  收藏  举报