Skip to content

Commit 1dd5ca8

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 a791b17 commit 1dd5ca8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Jenkinsfile

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

0 commit comments

Comments
 (0)