Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-2418

python-tox-jobs doesn't have sonarcloud but maven jobs do

Issue XMLXMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal 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 

              cl778h Chris Lott
              tommycarpenter Tommy Carpenter
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: