Migrate CCSDK to SonarCloud
Issue-ID: CIMAN-343
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I4cd2b2bf01747934265690dffe5e6e89a7f71df6
diff --git a/jjb/ccsdk/sli-adaptors.yaml b/jjb/ccsdk/sli-adaptors.yaml
index bb05ee3..23480cf 100644
--- a/jjb/ccsdk/sli-adaptors.yaml
+++ b/jjb/ccsdk/sli-adaptors.yaml
@@ -34,6 +34,11 @@
name: ccsdk-sli-adaptors-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: 'ccsdk/sli/adaptors'