Hi Team.
I using Sonar free edition. I need scan source code used Apex language.
But I read in document that “Apex analysis is available as part of the Enterprise Edition and above 8.0 version”
I’m confuse about that.
Can I scan Apex language with free edition.
Currently, I scanning source code Apex but not analyzed file .cls
This is my code:
stage('Sonarqube') {
steps {
bat "sonar-scanner "+
"-Dsonar.login=${token_sonarqube} "+
"-Dsonar.host.url=${sonar_host_url} "+
"-Dsonar.projectKey=${project} "+
"-Dsonar.projectName=${project} "+
"-Dsonar.sourceEncoding=UTF-8 "+
// "-Dsonar.inclusions=**/*.cls " +
"-Dsonar.language=apex " +
"-Dsonar.apex.coverage.reportPath=path_to_file_report " +
// "-Dsonar.branch.name=${branch} "+
//"-Dsonar.branch.target=${branch} " +
// "-Dsonar.typescript.lcov.reportPaths= "+
"-Dsonar.sources=. "+
"-Dsonar.projectVersion=${currentBuild.number}_${branch}"
}
}
I don’t know my code wrong or free edition not support!
Please support me ASAP
Thank so much!