Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision 952ee7a1c79b7c75cf690342f86d0fe477a41b31)
+++ Jenkinsfile	(revision c3a20076b8a200705a2195939484a811f2b28b8f)
@@ -10,74 +10,75 @@
 //===========================================================================================================
 
-
-// Globals
-BuildDir  = null
-SrcDir    = null
-Settings  = null
-StageName = ''
-
-currentBuild.result = "SUCCESS"
-
-// Local variables
-def err = null
-def log_needed = false
-
-echo "Testing"
-
-try {
-	//Wrap build to add timestamp to command line
-	wrap([$class: 'TimestamperBuildWrapper']) {
-
-		echo "Testing 2"
-		Settings = prepare_build()
-
-		node(Settings.Architecture.node) {
+node('master') {
+	// Globals
+	BuildDir  = pwd tmp: true
+	SrcDir    = pwd tmp: false
+	Settings  = null
+	StageName = ''
+
+	// Local variables
+	def err = null
+	def log_needed = false
+
+	currentBuild.result = "SUCCESS"
+
+	try {
+		//Wrap build to add timestamp to command line
+		wrap([$class: 'TimestamperBuildWrapper']) {
+
+			Settings = prepare_build()
+
+			node(Settings.Architecture.node) {
+				BuildDir  = pwd tmp: true
+				SrcDir    = pwd tmp: false
+
+				clean()
+
+				checkout()
+
+				build()
+
+				test()
+
+				benchmark()
+
+				build_doc()
+
+				publish()
+			}
+
+			// Update the build directories when exiting the node
 			BuildDir  = pwd tmp: true
 			SrcDir    = pwd tmp: false
-
-			clean()
-
-			checkout()
-
-			build()
-
-			test()
-
-			benchmark()
-
-			build_doc()
-
-			publish()
-		}
-	}
-}
-
-//If an exception is caught we need to change the status and remember to
-//attach the build log to the email
-catch (Exception caughtError) {
-	//rethrow error later
-	err = caughtError
-
-	echo err.toString()
-
-	//An error has occured, the build log is relevent
-	log_needed = true
-
-	//Store the result of the build log
-	currentBuild.result = "${StageName} FAILURE".trim()
-}
-
-finally {
-	//Send email with final results if this is not a full build
-	email(log_needed)
-
-	echo 'Build Completed'
-
-	/* Must re-throw exception to propagate error */
-	if (err) {
-		throw err
-	}
-}
-
+		}
+	}
+
+	//If an exception is caught we need to change the status and remember to
+	//attach the build log to the email
+	catch (Exception caughtError) {
+		//rethrow error later
+		err = caughtError
+
+		echo err.toString()
+
+		//An error has occured, the build log is relevent
+		log_needed = true
+
+		//Store the result of the build log
+		currentBuild.result = "${StageName} FAILURE".trim()
+	}
+
+	finally {
+		//Send email with final results if this is not a full build
+		email(log_needed)
+
+		echo 'Build Completed'
+
+		/* Must re-throw exception to propagate error */
+		if (err) {
+			throw err
+		}
+	}
+}
 //===========================================================================================================
 // Main compilation routines
