Use pom in ricsdl-package for sonar analysis 01/2301/3
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 21 Jan 2020 21:55:38 +0000 (16:55 -0500)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 23 Jan 2020 14:11:58 +0000 (14:11 +0000)
The test coverage data file is written by tox into ricsdl-package,
so launch maven in that same directory, not in the repo root.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I9f462e76424681b7c03a90d126c46b81ac10451d

jjb/ric-plt-sdlpy/ric-plt-sdlpy.yaml

index f882359..73bb213 100644 (file)
     name: ric-plt-sdlpy-sonar
     <<: *sdlpy_common
     branch: master
-    python-version: python3
     sonarcloud: true
     sonarcloud-api-token: '{sonarcloud_api_token}'
     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
     sonarcloud-project-organization: '{sonarcloud_project_organization}'
     tox-dir: ricsdl-package
+    mvn-params: -f ricsdl-package
     jobs:
       - gerrit-tox-sonar