Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision d198551ae2e2d165161e4a536dc960248078a4ae)
+++ Jenkinsfile	(revision cf04d51707873810d8108e92687e30ea3c7fc56b)
@@ -8,8 +8,8 @@
 
 // Globals
-BuildDir  = null
-SrcDir    = null
-Settings  = null
-Tools     = null
+@Field def BuildDir  = null
+@Field def SrcDir    = null
+@Field def Settings  = null
+@Field def Tools     = null
 
 // Local variables
@@ -150,5 +150,5 @@
 		sh 'ulimit -a'
 
-		jopt = '-j $(nproc)'
+		def jopt = '-j $(nproc)'
 
 		Tools.BuildStage('Test: Debug', true) {
