summaryrefslogtreecommitdiff
path: root/Jenkinsfile-PreCommit
diff options
context:
space:
mode:
authorAndor Molnar <andor@apache.org>2020-08-14 16:44:01 +0200
committerEnrico Olivelli <eolivelli@apache.org>2020-08-14 16:44:01 +0200
commite6c089b0721aa99803d792d64a4949e057395cda (patch)
tree4601dcc75c10cd81d00d21d29f0bc308d26dab7f /Jenkinsfile-PreCommit
parent0b386e4579645761e341510b185899d060e51c82 (diff)
downloadzookeeper-e6c089b0721aa99803d792d64a4949e057395cda.tar.gz
ZOOKEEPER-3896: Added cleanup bits to all ZK builds
Recently I noticed some weird null pointer exception issues during compile in out new builds. I usually resolve this by a full "git clean" locally, so I added it to the Jenkinsfiles too. Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1431 from anmolnar/ZOOKEEPER-3896
Diffstat (limited to 'Jenkinsfile-PreCommit')
-rw-r--r--Jenkinsfile-PreCommit1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jenkinsfile-PreCommit b/Jenkinsfile-PreCommit
index d2a666b7b..90b3f99ae 100644
--- a/Jenkinsfile-PreCommit
+++ b/Jenkinsfile-PreCommit
@@ -37,6 +37,7 @@ pipeline {
stage('BuildAndTest') {
steps {
git 'https://github.com/apache/zookeeper'
+ sh "git clean -fxd"
sh "mvn verify spotbugs:check checkstyle:check -Pfull-build -Dsurefire-forkcount=4"
}
post {