summaryrefslogtreecommitdiffstats
path: root/jjb/externalapi
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-11-18 17:01:58 -0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-12-17 22:45:36 +0000
commit3c60f2240c3c501d8c0f0729b379e8727d0ed1a1 (patch)
tree136c2fec8cd4ddf7c798746b39b03a3e9472c93a /jjb/externalapi
parenta3cb00d16c89fd991b34fd623cf1576ebb931530 (diff)
Migrate ExternalAPI to SonarCloud
Issue-ID: CIMAN-343 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I051dc3dc5058d6b90723586259785903a1c060ad
Diffstat (limited to 'jjb/externalapi')
-rw-r--r--jjb/externalapi/externalapi-nbi.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/externalapi/externalapi-nbi.yaml b/jjb/externalapi/externalapi-nbi.yaml
index 4c69d4cca..47fcf39e6 100644
--- a/jjb/externalapi/externalapi-nbi.yaml
+++ b/jjb/externalapi/externalapi-nbi.yaml
@@ -67,6 +67,11 @@
name: externalapi-nbi-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: 'externalapi/nbi'