0

声纳升级期间扩展/插件的好方法是什么?我第二次将声纳从 4.0 升级到 4.5.1。第一次,我将旧的扩展/插件文件夹复制到新的声纳版本中。碰巧在第一次,有一个 C# 插件,在数据库升级步骤中,我们收到“无法升级数据库”的消息。删除此插件后,数据库升级没有发生,我们直接进入登录页面。结果,尽管导入了 LDAP 用户,但声纳仪表板上缺少项目。所以我想知道下面的正确方法是什么?

1. 将旧插件文件夹从 sonar 4.0(旧)文件夹复制到 sonar 4.5.1(新)文件夹。

2.不要复制旧的插件文件夹。只需下载声纳升级后所需的新插件。

4

1 回答 1

1

Don't do #2! It will screw up your rule profiles.

You started out correctly by copying the plugins folder. But you have to go a little farther.

You need to read the upgrade notes for each intervening version. They're all children of this general guide to upgrading. They should mention all plugin incompatibilities & you'll have to deal with those manually. You may be able to do some of the upgrades via the update center in the old version before you shut it down. The rest you have to handle by deleting/replacing the old plugin jars.

于 2015-08-28T11:29:11.270 回答