Add sonar jobs for vvp
Add sonar jobs for:
- vvp/cms
- vvp/engagementmgr
- vvp/image-scanner
- vvp/test-engine
- vvp/validation-scripts
Change-Id: I87d52da4a4ebf42c6c22580c554d46d606d9c3dd
Issue-ID: CIMAN-140
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
diff --git a/jjb/vvp/vvp-cms.yaml b/jjb/vvp/vvp-cms.yaml
index 9c61247..f5dcdff 100644
--- a/jjb/vvp/vvp-cms.yaml
+++ b/jjb/vvp/vvp-cms.yaml
@@ -19,3 +19,15 @@
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-cms-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-basebuild-4c-4g
+ project: 'vvp/cms'
+ project-name: 'vvp-cms'
+ branch: 'master'
+ mvn-settings: 'vvp-cms-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
diff --git a/jjb/vvp/vvp-engagementmgr.yaml b/jjb/vvp/vvp-engagementmgr.yaml
index 4fd7583..e85268f 100644
--- a/jjb/vvp/vvp-engagementmgr.yaml
+++ b/jjb/vvp/vvp-engagementmgr.yaml
@@ -19,3 +19,15 @@
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-engagementmgr-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-basebuild-4c-4g
+ project: 'vvp/engagementmgr'
+ project-name: 'vvp-engagementmgr'
+ branch: 'master'
+ mvn-settings: 'vvp-engagementmgr-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
diff --git a/jjb/vvp/vvp-image-scanner.yaml b/jjb/vvp/vvp-image-scanner.yaml
index a7f6763..0ed53a0 100644
--- a/jjb/vvp/vvp-image-scanner.yaml
+++ b/jjb/vvp/vvp-image-scanner.yaml
@@ -19,3 +19,15 @@
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-image-scanner-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-basebuild-4c-4g
+ project: 'vvp/image-scanner'
+ project-name: 'vvp-image-scanner'
+ branch: 'master'
+ mvn-settings: 'vvp-image-scanner-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
diff --git a/jjb/vvp/vvp-test-engine.yaml b/jjb/vvp/vvp-test-engine.yaml
index 52f2dbd..604f453 100644
--- a/jjb/vvp/vvp-test-engine.yaml
+++ b/jjb/vvp/vvp-test-engine.yaml
@@ -19,3 +19,15 @@
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-test-engine-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-basebuild-4c-4g
+ project: 'vvp/test-engine'
+ project-name: 'vvp-test-engine'
+ branch: 'master'
+ mvn-settings: 'vvp-test-engine-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
diff --git a/jjb/vvp/vvp-validation-scripts.yaml b/jjb/vvp/vvp-validation-scripts.yaml
index 85993d2..d5c79d7 100644
--- a/jjb/vvp/vvp-validation-scripts.yaml
+++ b/jjb/vvp/vvp-validation-scripts.yaml
@@ -16,3 +16,15 @@
jobs:
- gerrit-maven-clm
- '{project-name}-{stream}-{subproject}-verify-python'
+- project:
+ name: vvp-validation-scripts-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-basebuild-4c-4g
+ project: 'vvp/validation-scripts'
+ project-name: 'vvp-validation-scripts'
+ branch: 'master'
+ mvn-settings: 'vvp-validation-scripts-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'