* filenmae generated by ticcore
*/
msgData = {
- recipe: {
- name: 'default'
- },
+ recipes: Settings.getRecipeStore(),
packages: _.map(checkedPackagesList, 'name'),
outdir: newJobModel.getJobPath()
};
}
function onSuccessGetRecipeFile(responseObj) {
- var msgObj, strKsName, strKsPath, strArch;
+ var msgObj, strKsName, strPath, strArch;
if (!_.isEmpty(responseObj) && responseObj.result === "false") {
logger.error(responseObj.message);
throw responseObj;
}
- strKsPath = responseObj.data.kspath;
- strKsName = strKsPath.substring(strKsPath.lastIndexOf('/') + 1);
+ strPath = responseObj.data.path;
+ strKsName = strPath.substring(strPath.lastIndexOf('/') + 1);
strArch = responseObj.data.arch;
// update