lundi 23 octobre 2017

How can I anlyze the "web part" of my applicatoin using Jenkins and SonarQube?

I added the following configuration inside a Jenkins job to analyze the quality of my code.

I would like also analyze the web part of my application, so I want to sonar checks the html and jspx pages. To do that I installed the Web plugin in my SonarQube.

But when I execute the job I can't find any analysis about ht web pages, why?

My SonarQube configuration inside Jenkins:

sonar.projectKey=prjt
sonar.projectName=prjt
sonar.projectVersion=1.0
sonar.login=sonar
sonar.password=****
sonar.sources=.
sonar.inclusions=**/src/main/java/**/*.java,**/src/main/webapp/**
sonar.exclusions=**/src/main/test/**/*.java
sonar.test.exclusions=**/src/main/test/**/*.java
sonar.web.file.suffixes=.html,.jspx

#Path for binaries
sonar.java.binaries=target/classes

# Language
sonar.language=java




Aucun commentaire:

Enregistrer un commentaire