You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2020/11/01 09:21:29 UTC

svn commit: r1883036 - /poi/trunk/build.gradle

Author: centic
Date: Sun Nov  1 09:21:29 2020
New Revision: 1883036

URL: http://svn.apache.org/viewvc?rev=1883036&view=rev
Log:
Add comments for Sonar properties in the Gradle build

Modified:
    poi/trunk/build.gradle

Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1883036&r1=1883035&r2=1883036&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Sun Nov  1 09:21:29 2020
@@ -180,11 +180,18 @@ subprojects {
     projectDir.mkdirs()
 
     if (project.hasProperty('enableSonar')) {
+        // See https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-gradle/ and
+        // https://docs.sonarqube.org/display/SONARQUBE52/Analyzing+with+SonarQube+Scanner+for+Gradle
+        // for documentation of properties.
+        //
+        // Some additional properties are currently set in the Jenkins-DSL, see jenksin/create_jobs.groovy
+        //
         sonarqube {
             properties {
                 // as we currently use build/<module>/ as project-basedir, we need to tell Sonar to use
                 // the root-folder as "basedir" for the projects
                 property "sonar.projectBaseDir", "$projectDir/../.."
+                // currently supported providers on Jenkins: "hg,git": property "sonar.scm.provider", "svn"
 
                 // the plugin seems to not detect our non-standard build-layout
                 property "sonar.junit.reportPaths", "$projectDir/build/test-results/test"



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org