aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol/src
diff options
context:
space:
mode:
authorJanos Gyerik <janos.gyerik@sonarsource.com>2017-12-01 12:01:27 +0100
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-12-05 10:47:46 +0100
commit7fb4ae00fc9915a1377b46f558fde655805153f6 (patch)
tree60c6ef0a940c6081b7f0c05ed8f3607b7fc79948 /sonar-scanner-protocol/src
parent734a658fc6fb58de2c807c646eaae5eb008adf69 (diff)
downloadsonarqube-7fb4ae00fc9915a1377b46f558fde655805153f6.tar.gz
sonarqube-7fb4ae00fc9915a1377b46f558fde655805153f6.zip
SONAR-10125 Add project relative path for all components
Diffstat (limited to 'sonar-scanner-protocol/src')
-rw-r--r--sonar-scanner-protocol/src/main/protobuf/scanner_report.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
index e939fa8855e..75f915b9501 100644
--- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
+++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
@@ -94,6 +94,8 @@ message ComponentLink {
message Component {
int32 ref = 1;
+
+ // Path relative to module base directory
string path = 2;
string name = 3;
ComponentType type = 4;
@@ -111,6 +113,9 @@ message Component {
// Only available on PROJECT and MODULE types
string description = 12;
FileStatus status = 13;
+
+ // Path relative to project base directory
+ string project_relative_path = 14;
enum ComponentType {
UNSET = 0;