aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2018-11-12 10:45:35 +0100
committerSonarTech <sonartech@sonarsource.com>2018-11-20 20:21:00 +0100
commit361083428bf57ebeebf88b69fd2b466d3c013e4f (patch)
tree4a239e2d4b65479a913c0f132aa96ced51e7a382 /sonar-ws/src
parent3ce4f8a68bb0b381a22d8ddf6c865870dfa74676 (diff)
downloadsonarqube-361083428bf57ebeebf88b69fd2b466d3c013e4f.tar.gz
sonarqube-361083428bf57ebeebf88b69fd2b466d3c013e4f.zip
SONAR-10763 Add application QG information
on projectanalysis/search action
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/protobuf/ws-projectanalyses.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-projectanalyses.proto b/sonar-ws/src/main/protobuf/ws-projectanalyses.proto
index 3b4ea562bb9..c666a1ce9b6 100644
--- a/sonar-ws/src/main/protobuf/ws-projectanalyses.proto
+++ b/sonar-ws/src/main/protobuf/ws-projectanalyses.proto
@@ -48,6 +48,7 @@ message Event {
optional string category = 3;
optional string name = 4;
optional string description = 5;
+ optional QualityGate qualityGate = 6;
}
message Analysis {
@@ -55,3 +56,15 @@ message Analysis {
optional string date = 2;
repeated Event events = 3;
}
+
+message QualityGate {
+ optional string status = 1;
+ optional bool stillFailing = 2;
+ repeated Failing failing = 3;
+}
+
+message Failing {
+ optional string key = 1;
+ optional string name = 2;
+ optional string branch = 3;
+}