Skip to content
Snippets Groups Projects

#37 detect java+checkstyle warnings in CI

Merged Nils Peters requested to merge issue/37 into main
2 files
+ 4
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
2
@@ -47,7 +47,7 @@ pipeline {
@@ -47,7 +47,7 @@ pipeline {
}
}
dir('java') {
dir('java') {
mvn goal: 'clean verify -P sign', dependencies: 'dependencies/maven.deps'
mvn goal: 'clean verify checkstyle:checkstyle -P sign', dependencies: 'dependencies/maven.deps'
}
}
}
}
}
}
@@ -76,7 +76,7 @@ pipeline {
@@ -76,7 +76,7 @@ pipeline {
anyOf {
anyOf {
buildingTag()
buildingTag()
branch 'main'
branch 'main'
branch pattern: 'release/[0-9.]+', comparator: 'REGEXP'
branch pattern: 'release/[0-9.]+', comparator: 'REGEXP'
branch pattern: 'feature/\\w+', comparator: 'REGEXP'
branch pattern: 'feature/\\w+', comparator: 'REGEXP'
}
}
}
}
@@ -94,6 +94,7 @@ pipeline {
@@ -94,6 +94,7 @@ pipeline {
recordIssues aggregatingResults: true,
recordIssues aggregatingResults: true,
enabledForFailure: true,
enabledForFailure: true,
tools: [
tools: [
 
java(),
checkStyle(),
checkStyle(),
mavenConsole()],
mavenConsole()],
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]]
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]]
Loading