summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-09-07 10:46:56 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-09-07 10:48:49 +0200
commit40db1b2c7eead13ccc9d65e777f7e2451fb04264 (patch)
tree854f82fc9d80cc69f546f475bcfe3bb8c5caac8e
parente43d3832534d78256c4a727de667193922ca7ae0 (diff)
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 <mmarsale@cisco.com>
-rw-r--r--jjb/honeycomb/honeycomb.yaml2
1 files changed, 2 insertions, 0 deletions
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: