Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision aa8e83015d500cf142bb18da8aa36ea968cdc7f3)
+++ Jenkinsfile	(revision 4f9e7067d839afcb07d468b81f768555cbfe0646)
@@ -10,9 +10,13 @@
 //===========================================================================================================
 
+echo "Testing"
+
 // Globals
-BuildDir  = null
-SrcDir    = null
+BuildDir  = pwd tmp: true
+SrcDir    = pwd tmp: false
 Settings  = null
 StageName = ''
+
+currentBuild.result = "SUCCESS"
 
 // Local variables
@@ -20,6 +24,4 @@
 def log_needed = false
 
-currentBuild.result = "SUCCESS"
-
 try {
 	//Wrap build to add timestamp to command line
@@ -46,4 +48,8 @@
 			publish()
 		}
+
+		// Update the build directories when exiting the node
+		BuildDir  = pwd tmp: true
+		SrcDir    = pwd tmp: false
 	}
 }
