aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2019-04-01 11:28:19 +0200
committerSonarTech <sonartech@sonarsource.com>2019-04-23 20:21:07 +0200
commit81638702d68033ca95ddd406aa655fb2bfdab036 (patch)
tree517407d64df2d9cb95ed27a32aab3c82b8f58092 /sonar-scanner-protocol
parentafe312e4cbf9ac88676d526ff6da0b641aef4ae8 (diff)
downloadsonarqube-81638702d68033ca95ddd406aa655fb2bfdab036.tar.gz
sonarqube-81638702d68033ca95ddd406aa655fb2bfdab036.zip
SONAR-11856 Store the "true" target branch in the scanner report to display it properly
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r--sonar-scanner-protocol/src/main/protobuf/scanner_report.proto3
1 files changed, 3 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 2d63cc866dd..381824cc9ea 100644
--- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
+++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
@@ -39,6 +39,7 @@ message Metadata {
bool cross_project_duplication_activated = 6;
map<string, QProfile> qprofiles_per_language = 7;
map<string, Plugin> plugins_by_key = 8;
+
string branch_name = 9;
BranchType branch_type = 10;
string merge_branch_name = 11;
@@ -52,6 +53,8 @@ message Metadata {
string projectVersion = 16;
string buildString = 17;
+ string target_branch_name = 18;
+
message QProfile {
string key = 1;
string name = 2;