我能够整合JaCoCo插件,我可以在运行时看到Sonar 5.3中的覆盖率报告
CREATE TABLE players (
p_id serial PRIMARY KEY,
full_name text
);
CREATE TABLE matches(
left_player_P_id integer REFERENCES players,
right_player_P_id integer REFERENCES players,
winner integer REFERENCES players
);
但是当我从Jenkins运行它时,它将指标上传到Sonar而没有覆盖率报告并显示此消息
此组件没有覆盖详情。
有任何想法如何解决此问题?以下是-- view for getting all players not currently assigned to a match
create view players_not_in_any_matches as
select * from players
where p_id not in (
select left_player_p_id from matches
) and
p_id not in (
select right_player_p_id from matches
);
中我的声纳属性的片段:
mvn sonar:sonar