Setup Sonar to analysis scala project using gradle

41 views
Skip to first unread message

Arvind kumar

unread,
Apr 23, 2018, 9:52:47 AM4/23/18
to Scalastyle users
Hi,

I am new to gradle, I want to use sonarqube for analysis scala project using gradle as a build tool and want configure this job using Jenkins to generate report on Sonar Dashboard.


I have installed Jenkins and Sonar and created a job in Jenkins but while running this job I am getting below error.

=====================================================================================
ERROR: Error during SonarQube Scanner execution
ERROR: Unable to register extension com.ncredinburgh.sonar.scalastyle.ScalastyleSensor from plugin 'Scalastyle'
ERROR: Caused by: Lorg/sonar/api/scan/filesystem/ModuleFileSystem;
ERROR: Caused by: org.sonar.api.scan.filesystem.ModuleFileSystem
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE
===========================================================================================

Can anyone help me on this....


Thank you,
Reply all
Reply to author
Forward
0 new messages