Hi,
I’m trying to run the analysis using the community edition SonarQube 8.0. I’m trying to analyze an open source java project that was created using ant. so I have already downloaded the ant plugin and all the necessary plugins. I have also edited the build.xml file. however after attempting to run the analysis for couple of time I getting that ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=magarena.
my scanner context is as following
SonarQube plugins:
- CVS 1.1.1 (scmcvs)
- 3D Code Metrics 3.7 (citymodel)
- SonarScala 1.5.0.315 (sonarscala)
- SonarC# 8.0.0.9566 (csharp)
- SonarJava 5.14.0.18788 (java)
- Sonargraph Integration 4.0.0 (sonargraphintegration)
- SonarHTML 3.2.0.2082 (web)
- SonarFlex 2.5.1.1831 (flex)
- SonarXML 2.0.1.2020 (xml)
- SonarTS 2.1.0.4359 (typescript)
- Checkstyle 4.26 (checkstyle)
- Java I18n Rules 1.0-SNAPSHOT (javai18n)
- SonarVB 8.0.0.9566 (vbnet)
- SonarPython 2.2.0.5331 (python)
- Code Smells 4.0.0 (smells)
- JaCoCo 1.0.2.475 (jacoco)
- SonarGo 1.6.0.719 (go)
- SonarKotlin 1.5.0.315 (kotlin)
- jDepend 1.1.1 (jdepend)
- Swift (Backelite) 0.4.5 (backelitesonarswiftplugin)
- SonarJS 6.1.0.11503 (javascript)
- SonarRuby 1.5.0.315 (ruby)
- Groovy 1.6 (groovy)
- Git 1.9.1.1834 (scmgit)
- SonarPHP 3.2.0.4868 (php)
Global server settings:
- sonar.core.id=BF41A1F2-AW7UCEx6mKskVacC4s6c
- sonar.core.startTime=2019-12-16T23:32:43-0500
- sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay=36
- sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=6
- sonar.groovy.ignoreHeaderComments=false
Project server settings:
- sonar.scm.disabled=true
Project scanner properties: - sonar.host.url=http://localhost:9000
- sonar.java.binaries=release
- sonar.java.libraries=/Users/mouzaalblooshi/Desktop/analyzer/projects /magarena/magarena-1.95/lib/*.jar
- sonar.login=******
- sonar.projectBaseDir=/Users/mouzaalblooshi/Desktop/analyzer/projects /magarena/magarena-1.95
- sonar.projectKey=magarena
- sonar.projectName=magarena
- sonar.projectVersion=1.0
- sonar.scanner.app=Ant
- sonar.scanner.appVersion=2.7.0.1612
- sonar.sourceEncoding=UTF-8
- sonar.sources=.
- sonar.working.directory=/Users/mouzaalblooshi/Desktop/analyzer/projects /magarena/magarena-1.95/.scannerwork
But when I checked the server it says that the last analysis was failed. I have tried running the analysis couple of time with even different Projects I was getting the same error that the last analysis was failed. I even tried to run the analysis without ant just with the scanner command. I have also tied to look in the background tasks / the gear icon but couldn’t see an “Error logs”. I need to complete this analysis ASAP. I will really appreciate your help.
regards,
mou