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 2017/11/23 18:54:17 UTC

svn commit: r1816186 - /poi/trunk/jenkins/create_jobs.groovy

Author: centic
Date: Thu Nov 23 18:54:17 2017
New Revision: 1816186

URL: http://svn.apache.org/viewvc?rev=1816186&view=rev
Log:
Don't try to collect junit results for Maven when we only run Sonar-tasks and thus skip unit tests

Modified:
    poi/trunk/jenkins/create_jobs.groovy

Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1816186&r1=1816185&r2=1816186&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Thu Nov 23 18:54:17 2017
@@ -250,9 +250,11 @@ poijobs.each { poijob ->
                         project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
                     }
                 }
-                archiveJunit('sonar/*/target/surefire-reports/TEST-*.xml') {
-                    testDataPublishers {
-                        publishTestStabilityData()
+                if (!poijob.sonar) {
+                    archiveJunit('sonar/*/target/surefire-reports/TEST-*.xml') {
+                        testDataPublishers {
+                            publishTestStabilityData()
+                        }
                     }
                 }
                 mailer(email, false, false)



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