diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-11-18 17:06:42 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-11-26 22:23:10 +0000 |
commit | f5948fe1f5fe9828cf9e44117bd0bae2a603dee3 (patch) | |
tree | 2bf12db240305e4b27dd44eff558050d8cded07b | |
parent | 0cf5edbd65332e06e89f26f7fd0e7aaff941eb1f (diff) |
Migrate SO to SonarCloud
Issue-ID: CIMAN-343
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I55c9cdcd5cf419ee7ed0082fb1fa29245814debd
-rw-r--r-- | jjb/so/so-libs.yaml | 5 | ||||
-rw-r--r-- | jjb/so/so.yaml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/jjb/so/so-libs.yaml b/jjb/so/so-libs.yaml index 8ad44cb8d..acc45f14d 100644 --- a/jjb/so/so-libs.yaml +++ b/jjb/so/so-libs.yaml @@ -30,6 +30,11 @@ name: so-libs-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: 'so/libs' diff --git a/jjb/so/so.yaml b/jjb/so/so.yaml index 9d7d894ce..4b63bf417 100644 --- a/jjb/so/so.yaml +++ b/jjb/so/so.yaml @@ -38,6 +38,11 @@ name: so-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' max-git-repo-age-hours: 48 build-node: ubuntu1604-builder-4c-4g |