Current status
- 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
- Merge only the « good» code for all branchs
Job to be implemented
- Jenkins setting
-Adapt the maven build job
- SonarCloud setting:
-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 adaptation
-Deploy and adapt to Onap context
Next steps
- Test the webservices (on labs) Done
- Deploy the solution (LFN)
- Jenkins setting
- SonarCloud setting
- Webservices adaptation
- POC : Implement on one of ONAP project
- -Setting and adapt a quality gate (Sonar gate)
- Generalize to all projects To be done