Don't try to collect junit results for Maven when we only run Sonar-tasks and thus skip unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1816186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2017-11-23 18:54:17 +00:00
parent db15fe7778
commit 625c511503
1 changed files with 5 additions and 3 deletions

View File

@ -250,11 +250,13 @@ poijobs.each { poijob ->
project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
}
}
if (!poijob.sonar) {
archiveJunit('sonar/*/target/surefire-reports/TEST-*.xml') {
testDataPublishers {
publishTestStabilityData()
}
}
}
mailer(email, false, false)
}
} else if (poijob.javadoc) {