diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-11-18 17:06:21 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-11-26 22:24:22 +0000 |
commit | 522b3a8743255e41db97f8b62cd8cfbc20beac50 (patch) | |
tree | 74ecd99fc28879596069433a8e8e6d941eed2e56 /jjb/sdnc | |
parent | 0cf5edbd65332e06e89f26f7fd0e7aaff941eb1f (diff) |
Migrate SDNC to SonarCloud
Issue-ID: CIMAN-343
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I51c61eb3c73a4dcc09c21e3b12386751d506d60b
Diffstat (limited to 'jjb/sdnc')
-rw-r--r-- | jjb/sdnc/sdnc-apps.yaml | 5 | ||||
-rw-r--r-- | jjb/sdnc/sdnc-northbound.yaml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/jjb/sdnc/sdnc-apps.yaml b/jjb/sdnc/sdnc-apps.yaml index edb5b90a8..2de80e0dc 100644 --- a/jjb/sdnc/sdnc-apps.yaml +++ b/jjb/sdnc/sdnc-apps.yaml @@ -47,6 +47,11 @@ name: sdnc-apps-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: 'sdnc/apps' diff --git a/jjb/sdnc/sdnc-northbound.yaml b/jjb/sdnc/sdnc-northbound.yaml index d7d816d5f..507d04496 100644 --- a/jjb/sdnc/sdnc-northbound.yaml +++ b/jjb/sdnc/sdnc-northbound.yaml @@ -35,6 +35,11 @@ name: sdnc-northbound-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: 'sdnc/northbound' |