Fix Precommit Job
It looks like the precommit job is performing an additional "git clone" that overwrites the PR
Author: Enrico Olivelli <eolivelli@apache.org>
Reviewers: andor@apache.prg
Closes #1460 from eolivelli/fix/pr-job-fix
diff --git a/Jenkinsfile-PreCommit b/Jenkinsfile-PreCommit
index 90b3f99..c7ba439 100644
--- a/Jenkinsfile-PreCommit
+++ b/Jenkinsfile-PreCommit
@@ -36,7 +36,6 @@
stages {
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"
}