[FIXED JENKINS-24495] Pass JVM args correctly to the scripts