diff options
author | BenoƮt Gianinetti <benoit.gianinetti@sonarsource.com> | 2018-11-30 16:51:45 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-12-03 20:20:58 +0100 |
commit | 10a497515e673120e7d2161b7e01c3d7e299f6a9 (patch) | |
tree | 7a42189df8199568228579908cbc5477147debb0 /sonar-scanner-engine/src/main/java/org/sonar/scanner/report | |
parent | e24615d14077f332fa7b322c9889b1fc49bd656e (diff) | |
download | sonarqube-10a497515e673120e7d2161b7e01c3d7e299f6a9.tar.gz sonarqube-10a497515e673120e7d2161b7e01c3d7e299f6a9.zip |
SONAR-11515 Add QProfileKey to ActiveRule in scanner report
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/report')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ActiveRulesPublisher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ActiveRulesPublisher.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ActiveRulesPublisher.java index 69c1344288f..ff5e6795757 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ActiveRulesPublisher.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ActiveRulesPublisher.java @@ -47,6 +47,7 @@ public class ActiveRulesPublisher implements ReportPublisherStep { builder.setSeverity(Constants.Severity.valueOf(input.severity())); builder.setCreatedAt(input.createdAt()); builder.setUpdatedAt(input.updatedAt()); + builder.setQProfileKey(input.qpKey()); builder.getMutableParamsByKey().putAll(input.params()); return builder.build(); }).collect(toList())); |