diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2017-09-11 11:31:35 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2017-09-12 10:55:10 +0200 |
commit | 23a1b258ea0f9ec2d3e6c9521282617bd61ecb59 (patch) | |
tree | d93f2b9c196404f955ddb13c066320aa3f7adc9c /sonar-scanner-protocol | |
parent | 0f146786ffea9bab17e35960c82ddc154c993e4a (diff) | |
download | sonarqube-23a1b258ea0f9ec2d3e6c9521282617bd61ecb59.tar.gz sonarqube-23a1b258ea0f9ec2d3e6c9521282617bd61ecb59.zip |
SONAR-9674 Load branch information from scanner report
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r-- | sonar-scanner-protocol/src/main/protobuf/scanner_report.proto | 8 |
1 files changed, 8 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 5affc439446..732f121609d 100644 --- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto +++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto @@ -41,6 +41,8 @@ message Metadata { map<string, Plugin> plugins_by_key = 8; bool incremental = 9; string branch_name = 10; + BranchType branch_type = 11; + string merge_branch_name = 12; message QProfile { string key = 1; @@ -53,6 +55,12 @@ message Metadata { string key = 1; int64 updatedAt = 2; } + + enum BranchType { + UNSET = 0; + LONG = 1; + SHORT = 2; + } } message ContextProperty { |