[VVP] added sonar jobs for vvp projects
Adding sonar jobs to vvp projects
Change-Id: I62de72251758fccb0fd14d5ad6d2bd2510d6ab5f
Issue-ID: VVP-48
Signed-off-by: stark, steven <ss820f@att.com>
diff --git a/jjb/vvp/vvp-gitlab.yaml b/jjb/vvp/vvp-gitlab.yaml
index eaeb780..c5b182b 100644
--- a/jjb/vvp/vvp-gitlab.yaml
+++ b/jjb/vvp/vvp-gitlab.yaml
@@ -12,10 +12,22 @@
path: '.'
pattern: '**'
mvn-settings: 'vvp-gitlab-settings'
- build-node: ubuntu1604-builder-4c-4g
+ build-node: ubuntu1604-docker-8c-8g
jobs:
- gerrit-python-xc-clm
- '{project-name}-{stream}-{subproject}-verify-python'
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-gitlab-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-docker-8c-8g
+ project: 'vvp/gitlab'
+ project-name: 'vvp-gitlab'
+ branch: 'master'
+ mvn-settings: 'vvp-gitlab-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
diff --git a/jjb/vvp/vvp-portal.yaml b/jjb/vvp/vvp-portal.yaml
index 4717dc1..f037336 100644
--- a/jjb/vvp/vvp-portal.yaml
+++ b/jjb/vvp/vvp-portal.yaml
@@ -12,10 +12,22 @@
path: '.'
pattern: '**'
mvn-settings: 'vvp-portal-settings'
- build-node: ubuntu1604-builder-4c-4g
+ build-node: ubuntu1604-docker-8c-8g
jobs:
- gerrit-python-xc-clm
- '{project-name}-{stream}-{subproject}-verify-python'
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-portal-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-docker-8c-8g
+ project: 'vvp/portal'
+ project-name: 'vvp-portal'
+ branch: 'master'
+ mvn-settings: 'vvp-portal-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
diff --git a/jjb/vvp/vvp-postgresql.yaml b/jjb/vvp/vvp-postgresql.yaml
index bd56bd0..af94edf 100644
--- a/jjb/vvp/vvp-postgresql.yaml
+++ b/jjb/vvp/vvp-postgresql.yaml
@@ -12,10 +12,22 @@
path: '.'
pattern: '**'
mvn-settings: 'vvp-postgresql-settings'
- build-node: ubuntu1604-builder-4c-4g
+ build-node: ubuntu1604-docker-8c-8g
jobs:
- gerrit-python-xc-clm
- '{project-name}-{stream}-{subproject}-verify-python'
- '{project-name}-{stream}-docker-java-daily'
docker-pom: 'pom.xml'
mvn-profile: 'default'
+- project:
+ name: vvp-postgresql-sonar
+ jobs:
+ - gerrit-maven-sonar
+ cron: 'H 11 * * *'
+ build-node: ubuntu1604-docker-8c-8g
+ project: 'vvp/postgresql'
+ project-name: 'vvp-postgresql'
+ branch: 'master'
+ mvn-settings: 'vvp-postgresql-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'