Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision 2469a6e5674c0a6d0cac718e7ced4d407dde2118)
+++ Jenkinsfile	(revision e57ebb5a4af112da05a52913321e1aee08879091)
@@ -65,5 +65,5 @@
 		if( Settings && !Settings.Silent ) {
 			echo 'Notifying users of result'
-			email(currentBuild.result, log_needed, bIsSandbox)
+			email(log_needed, Settings.IsSandbox)
 		}
 
@@ -121,5 +121,5 @@
 - Status --------------------------------------------------------------
 
-BUILD# ${env.BUILD_NUMBER} - ${status}
+BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}
 
 - Log -----------------------------------------------------------------
@@ -231,5 +231,5 @@
 
 //Standard build email notification
-def email(String status, boolean log, boolean bIsSandbox) {
+def email(boolean log, boolean bIsSandbox) {
 	//Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
 	//Configurations for email format
@@ -256,5 +256,5 @@
 	}
 
-	def email_subject = "[${project_name} git][BUILD# ${env.BUILD_NUMBER} - ${status}] - branch ${env.BRANCH_NAME}"
+	def email_subject = "[${project_name} git][BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}] - branch ${env.BRANCH_NAME}"
 	def email_body = """This is an automated email from the Jenkins build machine. It was
 generated because of a git hooks/post-receive script following
@@ -269,5 +269,5 @@
 - Status --------------------------------------------------------------
 
-BUILD# ${env.BUILD_NUMBER} - ${status}
+BUILD# ${env.BUILD_NUMBER} - ${currentBuild.result}
 
 - Log -----------------------------------------------------------------
