「SonarQube」- 代码质量检查 @20210314

重置密码

How to recover admin password for SONAR
Reinstating Admin Access

默认的 用户名/密码 是 admin/admin 。如果忘记密码可以进行重置:

-- SonarQube 7.7
update users set crypted_password = '$2a$12$uCkkXmhW5ThVK8mpBvnXOOJRLd64LJeHTeCkSuB3lfaR2N0AYBaSi',
    salt=null, hash_method='BCRYPT' where login = 'admin'

配置 Nginx 前端

Securing the Server Behind a Proxy

# the server directive is nginx's virtual host directive
server {
  # port to listen on. Can also be set to an IP:PORT
  listen 80;

  # sets the domain[s] that this vhost server requests for
  server_name www.somecompany.com;

  location / {
    proxy_pass http://sonarhost:sonarport;
  }
}

相关文章

「Jenkins Pipeline」- 配置多版本NodeJS构建环境
「Jenkins Pipeline」- 共享库(Shared Libraries)
「Jenkins Pipeline」- 相关插件及编程实践
「Jenkins Pipeline」- 发送 HTTP 请求
「GitLab CI/CD」- 在远程主机中执行命令
「Gogs」- 安装(Linux)
「08」- 利于集成的分支策略

参考文献

SonarQube: Continuous Inspection
Wikipedia/SonarQube
GitHub/SonarSource/sonarqube

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值