Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Current status

Image Added

  • When user push content to gerrit, Sonar does not analyse the content of the new source code but the content of the master.
  • Content of branch are never analyse in Sonar.

Proposal– Using webservises and webhook


Image Added

  • Merge  only the « good» code for all branchs

Job to be implemented

  • Jenkins

-Adapt the maven build job


  • SonarCloud:

-Set for analyse all branchs and each commit

-Deploy the Webhook

-Define the  ’quality gate’ feature

-Choice all code or only for the new code


  • Webservices Wikimedia

-Deploy and adapt to Onap context


Next steps


  •  Test the webservices (on labs)  Done


  •  Implementation by LFN of the webservices  working in progress


  •  POC : Implement on one of ONAP project 
    •  -Setting and adapt a quality gate (Sonar gate)


  •  Generalize to all projects   To be done