Skip to content

Commit

Permalink
Fix broken workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 19, 2023
1 parent a9690d1 commit 6ff3f3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest]
jdk: [17]
include:
- os: ubuntu-latest
- platform: ubuntu-latest
jdk: 11
- os: macos-latest
- platform: macos-latest
jdk: 11

runs-on: ${{ matrix.platform }}
Expand Down
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ def params = [
junit('**/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml')
if (first) {
discoverReferenceBuild()
publishCoverage calculateDiffForChangeRequests: true, adapters: [jacocoAdapter('**/target/site/jacoco/jacoco.xml')]
recordCoverage(tools: [[parser: 'JACOCO']]
sourceCodeRetention: 'MODIFIED',
qualityGates: [
[threshold: -0.5, metric: 'LINE', baseline: 'MODIFIED_LINES', unstable: true],
[threshold: -0.5, metric: 'BRANCH', baseline: 'MODIFIED_LINES', unstable: true]])
}
}
}
Expand Down

0 comments on commit 6ff3f3f

Please sign in to comment.