Migrate SDC to SonarCloud
Issue-ID: CIMAN-343
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I73cdc99a08318a449b0d29dbef53df0b640c39b8
diff --git a/jjb/sdc/sdc-microservices.yaml b/jjb/sdc/sdc-microservices.yaml
index 8f3fcf4..c0345a5 100644
--- a/jjb/sdc/sdc-microservices.yaml
+++ b/jjb/sdc/sdc-microservices.yaml
@@ -39,6 +39,11 @@
name: sdc-microservices-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: 'sdc/microservices'