SonarQube / AngularJS - How to I get SonarQube up and running to get my Angular project integrated / analyzed? -
i have front end project (angularjs - not latest version) , want analyze code sonarqube.
here did far.
1) grabbed project github , cloned desktop.
2) downloaded sonarqube-6.5 , extracted desktop.
3) opened sonarqube-6.5\extensions\plugins (in extracted directory) , pasted front end plugin (downloaded https://github.com/groupe-sii/sonar-web-frontend-plugin)
4) created sonar-project.properties in web directory of project
contents
# required metadata sonar.projectkey=project-name sonar.projectname=project name sonar.projectversion=0.1 # comma-separated paths directories sources (required) sonar.sources=src/app # exclude files , folders (typically dependencies) sonar.exclusions=bower_components/**/*, node_modules/**/* # encoding of source files sonar.sourceencoding=utf-8 then ran following in command line.
cd project root dir
"c:\\sonar-scanner-msbuild-3.0.2.656\sonarqube.scanner.msbuild.exe" begin /k:"orag.sonarqube:sonarqube-scanner-msbuild" /n:"cmnhmobile-nextrelease" /v:"1.0" c:\pathto ms build\msbuild.exe /t:rebuild "c:\sonar-scanner-msbuild-3.0.2.656\sonarqube.scanner.msbuild.exe" end
after these steps not see project listed in localhost:9000 (sonarqube)
what can show project analysis?
Comments
Post a Comment