Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision 63fe9f1dd58b1fa9bd1dfcb02d59d0c8d79b2c4f)
+++ Jenkinsfile	(revision 23a14d86bd78d0e4b310ced499e4d6d26d314f13)
@@ -18,14 +18,21 @@
 
 node ('master'){
-	stage 'Build'
+	//clean the repo and checkout the source code
+	stage 'Stage Checkout'
+	checkout scm
+	sh 'git clean -f'
 
-	sh 'printenv'
+	//configure the conpilation
+	stage 'Stage Build'
+	sh 'dfjgh'
+	sh 'make maintainer-clean'
+	sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure'
+	sh 'make -j 8'
 
-	//clean the repo and checkout the source code
-	checkout scm
 
-	//Configurations for email format
+	stage 'Stage Notify'
 
 	//Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
+	//Configurations for email format
 	def project_name = (env.JOB_NAME =~ /(.+)\/.+/)[0][1]
 
@@ -48,10 +55,4 @@
 	def email_to = 'tdelisle@uwaterloo.ca'
 
-	//configure the conpilation
-	sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure'
-
-	//build
-	sh 'make -j 8'
-
 	//send email notification
 	emailext body: email_body, subject: email_subject, to: email_to, attachLog: true
