Skip to content

Commit 917d9a0

Browse files
sratzHannesWell
authored andcommitted
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 2a44679 commit 917d9a0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Jenkinsfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,16 @@ pipeline {
3737
**/target/artifactcomparison/**,\
3838
**/target/compilelogs/**,\
3939
repository/target/repository/**')
40-
junit '**/target/surefire-reports/*.xml'
40+
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
4141
discoverGitReferenceBuild referenceJob: 'eclipse.pde/master'
42-
recordIssues publishAllIssues: true, ignoreQualityGate: true, tools: [eclipse(name: 'Compiler and API Tools', pattern: '**/target/compilelogs/*.xml'), mavenConsole(), javaDoc()], qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]
42+
recordIssues enabledForFailure: true, publishAllIssues: true, ignoreQualityGate: true,
43+
tools: [
44+
eclipse(name: 'Compiler', pattern: '**/target/compilelogs/*.xml'),
45+
issues(name: 'API Tools', id: 'apitools', pattern: '**/target/apianalysis/*.xml'),
46+
mavenConsole(),
47+
javaDoc()
48+
],
49+
qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]
4350
}
4451
}
4552
}

0 commit comments

Comments
 (0)