@@ -49,14 +49,15 @@ pipeline {
4949 // The following lines use the newest build on master that did not fail a reference
5050 // To not fail master build on failed test maven needs to be started with "-Dmaven.test.failure.ignore=true" it will then only marked unstable.
5151 // To not fail the build also "unstable: true" is used to only mark the build unstable instead of failing when qualityGates are missed
52- // Also do not record mavenConsole() as failing tests are logged with ERROR duplicating the failure into the "Maven" plugin
5352 // To accept unstable builds (test errors or new warnings introduced by third party changes) as reference using "ignoreQualityGate:true"
5453 // To only show warnings related to the PR on a PR using "publishAllIssues:false"
55- // The eclipse compiler name is changed because the logfile not only contains ECJ but also API warnings.
56- // "pattern:" is used to collect warnings in dedicated files avoiding output of junit tests treated as warnings
57- junit ' **/target/surefire-reports/*.xml'
5854 discoverGitReferenceBuild referenceJob : ' eclipse.jdt.core-github/master'
59- recordIssues publishAllIssues :false , ignoreQualityGate :true , tool : eclipse(name : ' Compiler and API Tools' , pattern : ' **/target/compilelogs/*.xml' ), qualityGates : [[threshold : 1 , type : ' DELTA' , unstable : true ]]
55+ junit allowEmptyResults : true , testResults : ' **/target/surefire-reports/*.xml'
56+ recordIssues publishAllIssues : false , ignoreQualityGate : true , enabledForFailure : true , tools : [
57+ eclipse(name : ' Compiler' , pattern : ' **/target/compilelogs/*.xml' ),
58+ issues(name : ' API Tools' , id : ' apitools' , pattern : ' **/target/apianalysis/*.xml' ),
59+ ], qualityGates : [[threshold : 1 , type : ' DELTA' , unstable : true ]]
60+ recordIssues tools : [javaDoc(), mavenConsole()]
6061 }
6162 }
6263 }
0 commit comments