Add sonar job to nonrtric 46/2446/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Fri, 7 Feb 2020 10:23:20 +0000 (05:23 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 7 Feb 2020 10:27:21 +0000 (05:27 -0500)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Icd37d326779e75edfb39a61e02db0a14e6d74d4b

jjb/nonrtric/nonrtric.yaml

index 443e4d0..ecb13a5 100644 (file)
     build-node: centos7-docker-2c-8g
     jobs:
       - '{project-name}-gerrit-release-jobs'
+
+- project:
+    <<: *nonrtric_jdk11
+    name: nonrtric-sonar
+    # template goal install builds docker image unnecessarily
+    mvn-params: -Ddocker.skip=true
+    sonarcloud: true
+    sonarcloud-api-token: '{sonarcloud_api_token}'
+    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+    sonarcloud-project-organization: '{sonarcloud_project_organization}'
+    jobs:
+      - gerrit-maven-sonar