Parcourir la source

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
pull/68/head
Dominik Stadler il y a 6 ans
Parent
révision
7367d2f1a3
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5
    3
      jenkins/create_jobs.groovy

+ 5
- 3
jenkins/create_jobs.groovy Voir le fichier

@@ -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)

Chargement…
Annuler
Enregistrer