How to run a sonar scanner on an Ionic 2 project

We have migrated our frontend project from ionic/es6/angular to ionic2/typescript/angular2 . Everything is fine, except that we don’t know how to launch a project sonar report.

We used to use gulp and run the gulp sonar command to generate a sonar report (on the local sonar server).

We are not using gulp in the new ionic2 project and are wondering how to run the sonar scanner in the new project.

Note

  • we installed the typescript plugin on our sonar server.
  • we added the sonar-project.properties file to the sonar-project.properties project directory

The question is how to run it

Thanks...

+7
angular typescript sonarqube ionic2 sonarqube-scan
source share
1 answer

the answer you find is already resolved

in this link I give you

https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner

check

-4
source share

All Articles