Skip to content

Commit 7a3a105

Browse files
committed
Jenkinsfile: Use Tycho 4.0.13 way to display api tools warnings
Also make sure the issues are published even in case of a failed build, as otherwise they are not visualized.
1 parent 1e6e9a9 commit 7a3a105

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Jenkinsfile

+8-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ pipeline {
2828
post {
2929
always {
3030
archiveArtifacts artifacts: '*.log,**/target/**/*.log', allowEmptyArchive: true
31-
junit '**/target/surefire-reports/TEST-*.xml'
31+
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml'
3232
discoverGitReferenceBuild referenceJob: 'eclipse.platform.ui/master'
33-
recordIssues(publishAllIssues:false, ignoreQualityGate:true,
34-
tool: eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'),
35-
qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]])
36-
recordIssues publishAllIssues:false, tools: [mavenConsole(), javaDoc()]
33+
recordIssues enabledForFailure: true, publishAllIssues:false, ignoreQualityGate:true,
34+
tools: [
35+
eclipse(name: 'Compiler', pattern: '**/target/compilelogs/*.xml'),
36+
issues(name: 'API Tools', id: 'apitools', pattern: '**/target/apianalysis/*.xml')
37+
],
38+
qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
39+
recordIssues enabledForFailure: true, publishAllIssues:false, tools: [mavenConsole(), javaDoc()]
3740
}
3841
}
3942
}

0 commit comments

Comments
 (0)