some build do not generate amnymore junit results

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
olivier lamy 2020-11-11 10:54:07 +10:00
parent 5ebc36c450
commit 8b3de3beb3
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -145,7 +145,7 @@ def mavenBuild(jdk, cmdline, mvnName, consoleParsers) {
}
finally
{
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml'
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml', allowEmptyResults: true
if(consoleParsers!=null){
warnings consoleParsers: consoleParsers
}