jenkins打开空白页

1、登录jenkins报错提示hudson.security.AccessDeniedException

解决:

修改Jenkins_home/config.xml文件里面的一段内容改成如下


<useSecurity>true</useSecurity>
  <authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
  <securityRealm class="hudson.security.HudsonPrivateSecurityRealm">
    <disableSignup>true</disableSignup>
    <enableCaptcha>false</enableCaptcha>
  </securityRealm>


重新启动Jenkins (必须)


2、k8s中的部署的jenkins-master节点,登录jenkins直接是空白页,没有提示

解决:重启linux系统


参照:

https://www.cnblogs.com/yangxia-test/p/4368778.html

https://blog.csdn.net/xlyrh/article/details/51384837       Jenkins的授权和访问

 

posted @ 2018-11-24 20:38  effortsing  阅读(4405)  评论(0编辑  收藏  举报