public void addSCMConfig(SCM scmConfig) { CruiseConfig config = loadForEdit(); config.getSCMs().add(scmConfig); writeConfigFile(config); }