diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 8c0fba7a1b..a7073d504a 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -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)