Move projects to gerrit-maven-sonar
The current Sonar goal in release-version-java-daily
has a lot of issues when running for projects in more than
one branch.
Remove sonar task from release-version-java-daily and use
global-jjb gerrit-maven-sonar job instead.
Change-Id: I9a20b68f4539e227ceab4063edb2df429cf60afb
Issue-ID: CIMAN-126
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
diff --git a/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml b/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml
index 543c627..aa3447d 100644
--- a/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml
+++ b/jjb/dcaegen2/dcaegen2-platform-inventory-api.yaml
@@ -26,3 +26,14 @@
files: '**'
archive-artifacts: ''
build-node: 'ubuntu1604-docker-8c-8g'
+- project:
+ name: dcaegen2-platform-inventory-api-sonar
+ jobs:
+ - gerrit-maven-sonar
+ java-version: ''
+ project: 'dcaegen2/platform/inventory-api'
+ project-name: 'dcaegen2-platform-inventory-api'
+ branch: 'master'
+ mvn-settings: 'dcaegen2-platform-inventory-api-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
\ No newline at end of file