-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
Please extend python jobs for sonarcloud.
The global jjb lf-maven-jobs templates provide "sonarcloud" support which O-RAN-SC uses. However, the lf-python-jobs templates do not.
Andrew G of LF extended the O-RAN-SC portal ric-dashboard JJB project job definition with sonarcloud credentials. We tried using those in the ric-plt-a1 job definition but without sonarcloud support, the jobs don't go far.
Here is a link to a successful sonar job for the ric-dashboard project: https://logs.o-ran-sc.org/production/vex-sjc-oran-jenkins-prod-1/portal-ric-dashboard-sonar/27/
Here are the sonarcloud config lines that were added to oran a1 repo: https://gerrit.o-ran-sc.org/r/gitweb?p=ci-management.git;a=blob;f=jjb/ric-plt-a1/ric-plt-a1.yaml;h=ee92f647fb7c811395a7a076b92cb02033077060;hb=4eb6560d13a044d0adeb2166a5d89a4cc757f901#l69
Here is a link to a job that does not work (a1): https://logs.o-ran-sc.org/production/vex-sjc-oran-jenkins-prod-1/ric-plt-a1-tox-sonar/46/
As such, there is no code coverage reported despite the api key having been set: https://sonarcloud.io/dashboard?id=o-ran-sc_ric-plt-a1