Enabling Sonar Jobs for Influx Logger & PM Producer 61/11661/1
authorambrishest <ambrish.singh@est.tech>
Tue, 22 Aug 2023 16:09:41 +0000 (17:09 +0100)
committerambrishest <ambrish.singh@est.tech>
Tue, 22 Aug 2023 16:09:58 +0000 (17:09 +0100)
Issue-ID: NONRTRIC-877
Change-Id: I8a62fcbc0e568fc5595e5f7638f56681d280513e
Signed-off-by: ambrishest <ambrish.singh@est.tech>
jjb/nonrtric-plt-ranpm/nonrtric-plt-ranpm.yaml

index 601c0d8..4f429cc 100644 (file)
     sonarcloud-project-organization: "{sonarcloud_project_organization}"
     jobs:
       - gerrit-maven-sonar
+
+- project:
+    <<: *nonrtric_plt_ranpm_jdk_common
+    name: nonrtric-plt-ranpm-pmproducer-sonar
+    project-name: nonrtric-plt-ranpm-pmproducer
+    # template goal install builds docker image unnecessarily
+    mvn-params: "-f pmproducer -Ddocker.skip=true"
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "pmproducer/.*"
+    sonarcloud: true
+    sonarcloud-api-token: "{sonarcloud_api_token}"
+    sonarcloud-project-key: "nonrtric-plt-ranpm-pmproducer"
+    sonarcloud-project-organization: "{sonarcloud_project_organization}"
+    jobs:
+      - gerrit-maven-sonar
+
+- project:
+    <<: *nonrtric_plt_ranpm_jdk_common
+    name: nonrtric-plt-ranpm-influxlogger-sonar
+    project-name: nonrtric-plt-ranpm-influxlogger
+    # template goal install builds docker image unnecessarily
+    mvn-params: "-f influxlogger -Ddocker.skip=true"
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "influxlogger/.*"
+    sonarcloud: true
+    sonarcloud-api-token: "{sonarcloud_api_token}"
+    sonarcloud-project-key: "nonrtric-plt-ranpm-influxlogger"
+    sonarcloud-project-organization: "{sonarcloud_project_organization}"
+    jobs:
+      - gerrit-maven-sonar