X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fsmo-ves%2Fsmo-ves.yaml;fp=jjb%2Fsmo-ves%2Fsmo-ves.yaml;h=de70a93e9f44959a636bf5652cc710f2a8b70412;hb=1875ce6b9d1164796988ef8fb67fb875613fc21e;hp=5bb5c6a76880063ee560eba7fcd7fd5380c921cb;hpb=4d0a20776415a58f3020e1eb55d3b86706aa8ec2;p=ci-management.git diff --git a/jjb/smo-ves/smo-ves.yaml b/jjb/smo-ves/smo-ves.yaml index 5bb5c6a7..de70a93e 100644 --- a/jjb/smo-ves/smo-ves.yaml +++ b/jjb/smo-ves/smo-ves.yaml @@ -46,3 +46,23 @@ build-node: centos7-docker-2c-8g jobs: - '{project-name}-gerrit-release-jobs' + +- project: + <<: *ves_docker_common + name: smo-ves-sonarqube + python-version: python3 + # the install script assumes an ubuntu image + build-node: ubuntu1804-builder-2c-2g + # pre-build-script: !include-raw-escape: + # - ../shell/install-deb-rmr.sh + sonar-project-file: "" + sonar-properties: | + sonar.login={sonarcloud_api_token} + sonar.projectKey={sonarcloud_project_organization}_{project-name} + sonar.projectName={project-name} + sonar.organization={sonarcloud_project_organization} + sonar.build.sourceEncoding=UTF-8 + sonar.sources=a1 + sonar.python.coverage.reportPaths=coverage.xml + jobs: + - gerrit-tox-sonarqube