Distinguish honeycomb branches in sonar analysis 94/2694/3
authorMaros Marsalek <mmarsale@cisco.com>
Wed, 7 Sep 2016 08:46:56 +0000 (10:46 +0200)
committerMaros Marsalek <mmarsale@cisco.com>
Wed, 7 Sep 2016 08:48:49 +0000 (10:48 +0200)
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 <mmarsale@cisco.com>
jjb/honeycomb/honeycomb.yaml

index 9c96d88..386fb21 100644 (file)
     publishers:
         - sonar:
             language: 'java'
+            branch: '{stream}'
         - email-notification:
             email-prefix: '[honeycomb]'
 
     publishers:
         - sonar:
             language: 'java'
+            branch: '{stream}'
         - email-notification:
             email-prefix: '[honeycomb]'
         - maven-deploy: