Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision aec9a67c172f848c5b3764e18d4608afc6b7712f)
+++ Jenkinsfile	(revision 01b8088dce26743a1a8ac2cac141069ddbe90927)
@@ -8,6 +8,7 @@
 		def install_dir = pwd tmp: true
 		//checkout the source code and clean the repo
-		sh "rm -rf * ${install_dir}/*"
 		checkout scm
+		sh 'git clean -fdqx'
+		sh 'git reset --hard'
 
 	build_stage 'Build'
@@ -31,6 +32,5 @@
 	build_stage 'Cleanup'
 
-		//Cleanup the install dir
-		sh "rm -rf ${install_dir}/*"
+		//No clean step needed for now
 }
 
