]> source.dussan.org Git - poi.git/commitdiff
Jeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now
authorDominik Stadler <centic@apache.org>
Mon, 26 Apr 2021 15:12:12 +0000 (15:12 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 26 Apr 2021 15:12:12 +0000 (15:12 +0000)
We can get rid of the Maven-based build if the Gradle-based job works fine now!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889200 13f79535-47bb-0310-9956-ffa450edef68

build.gradle
jenkins/create_jobs.groovy

index 0d4a19df6d27fd9e95e1343bbe277181e6ad5364..f0382936b62d7eb33042a0e2d2403fd2beabf744 100644 (file)
@@ -212,7 +212,9 @@ subprojects {
 
                 // the plugin seems to not detect our non-standard build-layout
                 property "sonar.junit.reportPaths", "$projectDir/build/test-results/test"
-                property "sonar.coverage.jacoco.xmlReportPaths", "$projectDir/build/reports/jacoco/test/jacocoTestReport.xml"
+
+                               // the Gradle run will report an invalid directory for 'ooxml-schema', but it seems to still work fine
+                               property "sonar.coverage.jacoco.xmlReportPaths", "$projectDir/build/reports/jacoco/test/jacocoTestReport.xml"
             }
         }
     }
index 85f09a0da021cf9842662a88576740b03a4caccc..9438f91c5e76cd19504bc93770c9761b87dabf83 100644 (file)
@@ -66,7 +66,9 @@ def poijobs = [
         [ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true
         ],
         [ name: 'POI-DSL-SonarQube', jdk: '1.11', trigger: 'H 7 * * *', maven: true, sonar: true, skipcigame: true,
-          email: 'kiwiwings@apache.org'
+          email: 'kiwiwings@apache.org',
+                 // replaced by Gradle-based build now
+                 disabled: true
         ],
         // set trigger empty as it is not stable yet, we can remove the Sonar Maven run when this is fully working
         [ name: 'POI-DSL-SonarQube-Gradle', jdk: '1.11', trigger: '', gradle: true, sonar: true, skipcigame: true