String variablesAsPropertiesFile = squashVariables(variableValues);
ImplementationBuildWrapper implementationBuildWrapper = new ImplementationBuildWrapper(jobToClone.getName(), newJob.getName(), variablesAsPropertiesFile);
buildWrappersList.add(implementationBuildWrapper);
newJob.save();
result = newJob;
implementationBuildWrapper.sync();
}
}
}