aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r--sonar-scanner-protocol/src/main/protobuf/scanner_report.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
index 92e917a65f1..9c7812eea02 100644
--- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
+++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
@@ -49,6 +49,8 @@ message Metadata {
string pull_request_key = 14;
map<string, string> modules_project_relative_path_by_key = 15;
+ string projectVersion = 16;
+
message QProfile {
string key = 1;
string name = 2;
@@ -108,7 +110,7 @@ message Component {
string language = 6;
repeated int32 child_ref = 7 [packed = true];
repeated ComponentLink link = 8;
- // Only available on PROJECT and MODULE types
+ // FIXME SONAR-11631 delete this property after deployment on SC of metadata.projectVersion
string version = 9;
// Only available on PROJECT and MODULE types
// TODO rename this property -> moduleKey ?
@@ -121,7 +123,7 @@ message Component {
// Path relative to project base directory
string project_relative_path = 14;
-
+
enum ComponentType {
UNSET = 0;
PROJECT = 1;