Add SonarQube Verify job to all CPS Repos
Issue-ID: CPS-929
Change-Id: Id2bd18cc1fad202fe72af7004f95bc88418ff0e5
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
diff --git a/jjb/cps/cps-cps-temporal.yaml b/jjb/cps/cps-cps-temporal.yaml
index d7b4ebc..f093fb6 100644
--- a/jjb/cps/cps-cps-temporal.yaml
+++ b/jjb/cps/cps-cps-temporal.yaml
@@ -75,10 +75,31 @@
sonar-mvn-goal: '{sonar_mvn_goal}'
cron: '@daily'
build-node: centos7-docker-8c-8g
- project: cps/cps-temporal
- project-name: cps-cps-temporal
- branch: master
- mvn-settings: cps-cps-temporal-settings
+ project: 'cps/cps-temporal'
+ project-name: 'cps-cps-temporal'
+ branch: 'master'
+ mvn-settings: 'cps-cps-temporal-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
+- project:
+ name: cps-cps-temporal-sonar-verify
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar-verify
+ sonarcloud: true
+ sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ sonarcloud-api-token: '{sonarcloud_api_token}'
+ sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+ sonarcloud-qualitygate-wait: true
+ sonar-mvn-goal: '{sonar_mvn_goal}'
+ build-node: centos7-docker-8c-8g
+ project: 'cps/cps-temporal'
+ project-name: 'cps-cps-temporal'
+ branch: 'master'
+ mvn-settings: 'cps-cps-temporal-settings'
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'