sonarQube6.1 升级至6.2

在使用sonarQube6.1一段时间后,今天才发现sonarQube6.2已经更新,为了尝鲜,我决定在本机先尝试一下,如何升级至6.2

在这里,根据站点提示的升级步骤

1.下载新版本sonarQube并运行在空DB中(sonarQube自带H2数据库)

2.在新sonarQube系统管理中心下载需要的插件。

3.安装需要的自定义插件

4.将原有配置文件覆盖新的配置文件(这里推荐的方式不是直接替换,而对比sonar.properties和wrapper.conf,发现相同的结点,修改成原配置的值即可,因为新版本可能会有一些新节点更新,用原文件替换有可能会将某些新节点误删除

5.将原sonarQube站点停止

6.重启新sonarQube服务即完成了升级服务

我个人遇到的情况,下载sonarQube6.2完成,并重新启动后,会发现浏览器出现http://localhost:9000/maintenance

提示信息是:

SonarQube is under maintenance. Please check back later.
Whilst waiting, you might want to check new plugins to extend the current functionality.
If you are an administrator and have no idea why this message is showing, you should read the upgrade guide 

需要输入http://localhost:9000/setup按提示进行升级

升级完成后如下图所示,目前查看到UI有升级,其他的升级需要在使用后才能知道

原文地址:https://www.cnblogs.com/weschen/p/6292885.html