diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-08-16 20:06:36 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2017-09-12 10:59:56 +0200 |
commit | d9b502eb1f50437f06aeafde6bf0a4ff0694e0aa (patch) | |
tree | 6654645dfb1521eccced75fe27aeace021674f0e /sonar-ws | |
parent | f48d90a276b5e962d2658bbf1a9fe2dc5af1064f (diff) | |
download | sonarqube-d9b502eb1f50437f06aeafde6bf0a4ff0694e0aa.tar.gz sonarqube-d9b502eb1f50437f06aeafde6bf0a4ff0694e0aa.zip |
SONAR-9616 Return branch info in api/ce ws
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/ce/CeWsParameters.java | 1 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-ce.proto | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/CeWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/CeWsParameters.java index 77cbbd673e0..680051f2dd2 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/CeWsParameters.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/CeWsParameters.java @@ -31,6 +31,7 @@ public class CeWsParameters { public static final String PARAM_ONLY_CURRENTS = "onlyCurrents"; public static final String PARAM_MIN_SUBMITTED_AT = "minSubmittedAt"; public static final String PARAM_MAX_EXECUTED_AT = "maxExecutedAt"; + public static final String PARAM_BRANCH = "branch"; private CeWsParameters() { // prevent instantiation diff --git a/sonar-ws/src/main/protobuf/ws-ce.proto b/sonar-ws/src/main/protobuf/ws-ce.proto index a268b7bcbd6..87ec36a7fcf 100644 --- a/sonar-ws/src/main/protobuf/ws-ce.proto +++ b/sonar-ws/src/main/protobuf/ws-ce.proto @@ -90,6 +90,8 @@ message Task { optional bool hasScannerContext = 19; optional string organization = 20; optional bool incremental = 21; + optional string branch = 22; + optional sonarqube.ws.commons.BranchType branchType = 23; } enum TaskStatus { |