我想从嵌入式H2数据库迁移到SonarQube中的PostgreSQL数据库。我创建了用户和架构为explained here。我也改变了搜索路径。
Sonar分析是在Jenkins中作为构建后步骤触发的,因此我还调整了Jenkins中的数据库配置以使用PostgreSQL服务器。
(maven)构建成功完成,但声纳分析现在失败了:
[ERROR] Can not execute SonarQube analysis: Wrong column type in public.users
for column id. Found: int8, expected: int4
可以在此处找到完整的错误堆栈跟踪:http://pastebin.com/WBBQrS4u。
我正在使用: