重置jenkins密码
-
SSH to server
-
Edit /opt/bitnami/apps/jenkins/jenkins_home/config.xml
-
set userSecurity to false: false
-
delete
and -
/etc/init.d/bitnami restart
Now Jenkins should be open:
-
Select Configure Jenkins,
“Enable Security”,
“Use Jenkin’s own database”
“Allow users to sign up” -
Under Authorization, select: “Matrix-based security”
and add users and give them all permissions,
and remove all permissions from ‘anonymous’
参考资料
https://gist.github.com/gmhawash/4043232