Skip to content

Commit 9dad00f

Browse files
committed
normalize Jenkinsfile
1 parent 0a57a49 commit 9dad00f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pipeline {
1919
repo = m.group(5)
2020
}
2121
}
22+
discoverReferenceBuild()
2223
}
2324
}
2425
stage('Setup build') {
@@ -58,7 +59,6 @@ pipeline {
5859
sh "github-release upload --user ${org} --repo ${repo} --tag ${TAG_NAME} --name ${TAG_NAME}.tgz --file target/*.tgz"
5960
sh "github-release upload --user ${org} --repo ${repo} --tag ${TAG_NAME} --name ${TAG_NAME}.rpm --file target/rpm/*/RPMS/*/*.rpm"
6061
}
61-
jacoco()
6262
}
6363
}
6464
stage('Save cache') {
@@ -74,6 +74,7 @@ pipeline {
7474
}
7575
post('Analysis') {
7676
always {
77+
recordCoverage(tools: [[parser: 'JACOCO']])
7778
recordIssues(
7879
enabledForFailure: true, aggregatingResults: true,
7980
tools: [java(), mavenConsole(), javaDoc(), checkStyle(reportEncoding: 'UTF-8'), spotBugs()])

0 commit comments

Comments
 (0)