@@ -344,12 +344,18 @@ pipeline {
344
344
}
345
345
post {
346
346
always {
347
- junit ' eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
348
- archiveArtifacts artifacts : ' **/*.log,*/binaries/*/target/*.jar' , excludes : ' **/*-sources.jar'
347
+ junit allowEmptyResults : true , testResults : ' eclipse.platform.swt/tests/*.test*/target/surefire-reports/*.xml'
348
+ archiveArtifacts allowEmptyArchive : true , artifacts : ' **/*.log,*/binaries/*/target/*.jar' , excludes : ' **/*-sources.jar'
349
349
discoverGitReferenceBuild referenceJob : ' eclipse.platform.swt/master'
350
350
// To accept unstable builds (test errors or new warnings introduced by third party changes) as reference using "ignoreQualityGate:true"
351
- recordIssues publishAllIssues : true , ignoreQualityGate :true , tools : [eclipse(name : ' Compiler and API Tools' , pattern : ' **/target/compilelogs/*.xml' ), javaDoc()], qualityGates : [[threshold : 1 , type : ' DELTA' , unstable : true ]]
352
- recordIssues publishAllIssues : true , ignoreQualityGate :true , tool : mavenConsole(), qualityGates : [[threshold : 1 , type : ' DELTA_ERROR' , unstable : true ]]
351
+ recordIssues enabledForFailure : true , publishAllIssues : true , ignoreQualityGate :true ,
352
+ tools : [
353
+ eclipse(name : ' Compiler' , pattern : ' **/target/compilelogs/*.xml' ),
354
+ issues(name : ' API Tools' , id : ' apitools' , pattern : ' **/target/apianalysis/*.xml' ),
355
+ javaDoc()
356
+ ],
357
+ qualityGates : [[threshold : 1 , type : ' DELTA' , unstable : true ]]
358
+ recordIssues enabledForFailure : true , publishAllIssues : true , ignoreQualityGate :true , tool : mavenConsole(), qualityGates : [[threshold : 1 , type : ' DELTA_ERROR' , unstable : true ]]
353
359
}
354
360
}
355
361
}
0 commit comments