Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 10375c7

Browse files
committed
Ignore old static analysis warnings.
1 parent b97bc26 commit 10375c7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Jenkinsfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ def configurations = [
66
def params = [
77
failFast: false,
88
configurations: configurations,
9-
checkstyle: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]],
10-
pmd: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]],
9+
checkstyle: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]],
10+
filters:[includePackage('io.jenkins.plugins.coverage.metrics')]],
11+
pmd: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]],
12+
filters:[includePackage('io.jenkins.plugins.coverage.metrics')]],
13+
spotbugs: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]],
14+
filters:[includePackage('io.jenkins.plugins.coverage.metrics')]],
1115
jacoco: [sourceCodeRetention: 'MODIFIED', sourceDirectories: [[path: 'plugin/src/main/java']]]
12-
]
16+
]
1317

1418
properties([
1519
disableConcurrentBuilds(abortPrevious: true),

0 commit comments

Comments
 (0)