Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It was halted when do scanning project by jenkins job after import p3c rules successfully #7

Open
nongzhi9950 opened this issue Jul 26, 2019 · 0 comments

Comments

@nongzhi9950
Copy link

nongzhi9950 commented Jul 26, 2019

after do as follow docs "
1.Package jar
git clone https://github.com/mrprince/sonar-p3c-pmd.git
mvn package
2.Download sonarqube-7.0
wget https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-7.0.zip
3.Install puglin
put generate sonar-pmd-plugin-2.6.jar into extensions\plugins
run bin\linux-x86-64\sonar.sh
3.Config
Add new Quality Profiles - "p3c", click "Activate More" button, search keyword "[p3c]", active all rules.
enjoy!! "

then call sonar-scanner by jenkins job to do anayzle project, but it was halted at "INFO: Quality profile for java: p3c
INFO: Quality profile for xml: Sonar way
INFO: Sensor JavaSquidSensor [java]
INFO: Configured Java source version (sonar.java.source): none
INFO: JavaClasspath initialization
INFO: JavaClasspath initialization (done) | time=20ms
INFO: JavaTestClasspath initialization
INFO: JavaTestClasspath initialization (done) | time=6ms
INFO: Java Main Files AST scan
INFO: 1324 source files to be analyzed
INFO: 283/1324 files analyzed, current file: /home/jenkins/workspace/static-analyse@3/yzbizcenter-admin/console/src/main/java/com/xiyunerp/yzbizcenter/console/service/CanteenService.java
INFO: 813/1324 files analyzed, current file: /home/jenkins/workspace/static-analyse@3/yzbizcenter-admin/model/src/main/java/com/xiyunerp/yzbizcenter/model/form/wechat/WechatMccForm.java
INFO: 1186/1324 files analyzed, current file: /home/jenkins/workspace/static-analyse@3/yzbizcenter-admin/web/src/main/java/com/xiyunerp/yzbizcenter/web/YzbizcenterApplication.java
INFO: 1324/1324 source files have been analyzed
INFO: Java Main Files AST scan (done) | time=33872ms
INFO: Java Test Files AST scan
INFO: 0 source files to be analyzed
INFO: Java Test Files AST scan (done) | time=1ms
INFO: 0/0 source files have been analyzed
INFO: Sensor JavaSquidSensor [java] (done) | time=34491ms
INFO: Sensor PmdSensor [pmd]
INFO: Execute PMD 5.4.2...
INFO: Java version: 1.5
INFO: PMD configuration: /home/jenkins/workspace/static-analyse@3/yzbizcenter-admin/.scannerwork/pmd.xml
"
pls can see
Uploading image.png…
"

pls help me !!! many thanks!!!

@nongzhi9950 nongzhi9950 changed the title Can not scan project after import p3c rules It was halted when do scanning project by jenkins job after import p3c rules successfully Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant