|
|
@ -208,9 +208,10 @@ global.pipelines=[]; |
|
|
|
var resdata = await getpipelines(token,pathfile) |
|
|
|
//console.log('info-------->>>>>>>>>>>> ', JSON.stringify(resdata));
|
|
|
|
//console.log('info----------------------- ', JSON.stringify(resdata.data));
|
|
|
|
//resdata.data.pathlogfile = pathfile
|
|
|
|
resdata.data.pathlogfile = 'test' |
|
|
|
var resob = resdata.data |
|
|
|
//resdata.data.pathlogfile = 'test'
|
|
|
|
var resob = {} |
|
|
|
resob.pathlogfile = pathfileval |
|
|
|
resob.data = resdata.data |
|
|
|
var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname); |
|
|
|
|
|
|
|
//indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists")
|
|
|
|