send the absolute path

This commit is contained in:
Girish Ramakrishnan 2016-09-21 13:33:19 -07:00
parent 0019cc0242
commit 735f5f1020

View File

@ -90,7 +90,7 @@ function runTests(latestVersionInfo, callback) {
var topic = util.format('E2E Test %s for box version: %s', error ? 'failed': 'passed', latestVersionInfo.version);
// do not send stderr in mail since it contains the tail log stream
mailer.sendEndToEndTestResult(topic, JSON.stringify(latestVersionInfo, null, 4), stdout ? stdout.toString('utf8') : '', '', path.join(__dirname, 'logs'), function (error) { if (error) console.log(error); });
mailer.sendEndToEndTestResult(topic, JSON.stringify(latestVersionInfo, null, 4), stdout ? stdout.toString('utf8') : '', '', path.resolve(path.join(__dirname, 'logs')), function (error) { if (error) console.log(error); });
return callback(error);
});
}