Add a -Dsonar property to sonar job 96/14796/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 3 Feb 2015 23:10:23 +0000 (18:10 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 3 Feb 2015 23:10:25 +0000 (18:10 -0500)
Projects could use the existance of this property to activate build
options in their builds that they only want to enable for Sonar runs.

Change-Id: If6805d8d9d832c9aa4d6a1fa34e14a0227a43039
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/job.yaml.template

index c44316d389f9dced1d947abbeb29bca7d7ca4b87..4e8986d19d824ac0d5daf0ba1ae1ff9d76313542 100644 (file)
     maven:
         maven-name: '{mvn32}'
         root-pom: 'pom.xml'
-        goals: 'MAVEN_GOALS'
+        goals: 'MAVEN_GOALS -Dsonar'
         maven-opts: 'MAVEN_OPTS'
         settings: '{PROJECT-settings}'
         global-settings: '{odl-global-settings}'