Skip to content

Commit

Permalink
Updating Jenkinsfile to use spotbugs
Browse files Browse the repository at this point in the history
Change-Id: I680ea0bd48f410467e891142a1368ead82d0c742
  • Loading branch information
Panos Garefalakis committed Jun 12, 2020
1 parent 303425b commit 5f704c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ jobWrappers {
checkout scm
}
stage('Prechecks') {
def findbugsProjects = [
def spotbugsProjects = [
":hive-shims-aggregator",
":hive-shims-common",
":hive-storage-api"
]
buildHive("-Pfindbugs -pl " + findbugsProjects.join(",") + " -am compile findbugs:check")
buildHive("-Pspotbugs -pl " + spotbugsProjects.join(",") + " -am compile com.github.spotbugs:spotbugs-maven-plugin:4.0.0:check")
}
stage('Compile') {
buildHive("install -Dtest=noMatches")
Expand Down

0 comments on commit 5f704c6

Please sign in to comment.