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:
parent
d77e980e44
commit
7367d2f1a3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user