Migrate POLICY to SonarCloud
Issue-ID: CIMAN-343
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I47085a53c163c845851a4a05528c0ac64b564a4f
diff --git a/jjb/policy/policy-models.yaml b/jjb/policy/policy-models.yaml
index f60572a..3d811b7 100644
--- a/jjb/policy/policy-models.yaml
+++ b/jjb/policy/policy-models.yaml
@@ -27,6 +27,11 @@
name: policy-models-sonar
jobs:
- gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ sonarcloud-api-token: '{sonarcloud_api_token}'
+ sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+ sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar"
cron: '@daily'
build-node: ubuntu1604-builder-4c-4g
project: 'policy/models'