|
|
|
[
Permlink
| « Hide
]
Phong Trinh [09/Oct/18 05:07 PM]
It works for me. Thank you very much, Robin. I really appreciate it.
Please try below script:
groovy: def rootConf = system.configurationManager.get("root"); for (eachConf in system.configurationManager.getChildren(rootConf)) { def exportOption = new com.pmease.quickbuild.util.ConfigurationExportOption(); exportOption.configurationPath = eachConf.pathName; exportOption.recursive = true; com.pmease.quickbuild.entitymanager.DataManager.instance.exportConfigurations(exportOption, new File("/path/to/export.zip")); } |