Index: Jenkins/Distribute
===================================================================
--- Jenkins/Distribute	(revision c2f6b792d4f257273c2841c8939f5eaf5e20d7e0)
+++ Jenkins/Distribute	(revision 0a10dc834299fcd94f5955aa965dee79a686f25a)
@@ -21,5 +21,4 @@
 final commit, build
 node {
-
 	//Wrap build to add timestamp to command line
 	wrap([$class: 'TimestamperBuildWrapper']) {
@@ -35,15 +34,9 @@
 
 		Tools.Clean()
-
 		Tools.Checkout( commit )
-
 		Version = GetVersion( build )
-
 		Configure()
-
 		Package()
-
 		Test()
-
 		Archive()
 	}
@@ -64,5 +57,4 @@
 	echo "Build   Version: ${build}"
 	echo "Long    Version: ${version}"
-
 	return version
 }
@@ -119,23 +111,23 @@
 def prepare_build() {
 	// prepare the properties
-	properties ([ 													\
-		buildDiscarder(logRotator(										\
-			artifactDaysToKeepStr: '',									\
-			artifactNumToKeepStr: '',									\
-			daysToKeepStr: '730',										\
-			numToKeepStr: '1000'										\
-		)),														\
-		[$class: 'ParametersDefinitionProperty', 								\
-			parameterDefinitions: [ 									\
-				[$class: 'StringParameterDefinition',						\
-					description: 'The git commit to checkout',				\
-					name: 'GitRef',									\
-					defaultValue: '',  								\
-				],												\
-				[$class: 'StringParameterDefinition',						\
-					description: 'Build Number to put into the version',			\
-					name: 'Build',									\
-					defaultValue: '0',  								\
-				],												\
+	properties ([ 											\
+		buildDiscarder(logRotator(								\
+			artifactDaysToKeepStr: '',							\
+			artifactNumToKeepStr: '',							\
+			daysToKeepStr: '730',								\
+			numToKeepStr: '1000'								\
+		)),											\
+		[$class: 'ParametersDefinitionProperty', 						\
+			parameterDefinitions: [ 							\
+				[$class: 'StringParameterDefinition',					\
+					description: 'The git commit to checkout',			\
+					name: 'GitRef',							\
+					defaultValue: '',  						\
+				],									\
+				[$class: 'StringParameterDefinition',					\
+					description: 'Build Number to put into the version',		\
+					name: 'Build',							\
+					defaultValue: '0',  						\
+				],									\
 			],
 		]])
Index: Jenkins/Promote
===================================================================
--- Jenkins/Promote	(revision c2f6b792d4f257273c2841c8939f5eaf5e20d7e0)
+++ Jenkins/Promote	(revision 0a10dc834299fcd94f5955aa965dee79a686f25a)
@@ -1,27 +1,23 @@
 #!groovy
 
+// Globals
+@Field def BuildDir   = pwd tmp: true
+@Field def SrcDir     = pwd tmp: false
+@Field def RemoteRepo = 'git@github.com:cforall/cforall.git'
+@Field def ArchiveUrl = 'https://cforall.uwaterloo.ca/jenkins/job/Cforall_Distribute_Ref/lastSuccessfulBuild/artifact/*zip*/archive.zip'
+
+// Local variables
+def err = null
+def log_needed = false
+
 node {
-	// Globals
-	BuildDir   = pwd tmp: true
-	SrcDir     = pwd tmp: false
-	RemoteRepo = 'git@github.com:cforall/cforall.git'
-	ArchiveUrl = 'https://cforall.uwaterloo.ca/jenkins/job/Cforall_Distribute_Ref/lastSuccessfulBuild/artifact/*zip*/archive.zip'
-
-	// Local variables
-	def err = null
-	def log_needed = false
-
 	currentBuild.result = "SUCCESS"
 
-	//Wrap build to add timestamp to command line
+	// Wrap build to add timestamp to command line
 	wrap([$class: 'TimestamperBuildWrapper']) {
-
 		PrepRepo();
-
 		def name = GetArchive();
-
 		PushRepo(name);
 	}
-
 }
 
@@ -59,5 +55,4 @@
 		}
 	}
-
 	return tarball
 }
