From 40db1b2c7eead13ccc9d65e777f7e2451fb04264 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 7 Sep 2016 10:46:56 +0200 Subject: [PATCH] Distinguish honeycomb branches in sonar analysis According to http://stackoverflow.com/questions/15596522/sonar-analysis-using-multiple-git-branches-in-jenkins this is the way of telling sonar to distinguish analysis for multiple branches. Change-Id: I599f69a3cc00d7c7541a182b0604bfb74df6b158 Signed-off-by: Maros Marsalek --- jjb/honeycomb/honeycomb.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jjb/honeycomb/honeycomb.yaml b/jjb/honeycomb/honeycomb.yaml index 9c96d88eb..386fb213a 100644 --- a/jjb/honeycomb/honeycomb.yaml +++ b/jjb/honeycomb/honeycomb.yaml @@ -210,6 +210,7 @@ publishers: - sonar: language: 'java' + branch: '{stream}' - email-notification: email-prefix: '[honeycomb]' @@ -289,6 +290,7 @@ publishers: - sonar: language: 'java' + branch: '{stream}' - email-notification: email-prefix: '[honeycomb]' - maven-deploy: -- 2.16.6