[gandalf] Fixes and improvements in Jenkins script. Added config.xml for Jenkins.