move section headers to client logger

This commit is contained in:
spalger
2016-02-22 10:55:14 -08:00
parent aae2d96d56
commit fe5bad3327
2 changed files with 10 additions and 10 deletions

View File

@ -162,11 +162,11 @@ function YamlDoc(doc, file) {
self.getActionsRunners = function () { self.getActionsRunners = function () {
return self._actions.map(function (action) { return self._actions.map(function (action) {
return function (cb) { return function (cb) {
if (!!process.env.JENKINS_HOME) { clientManager.get().transport.log.debug(
console.log('==========================='); '===========================\n' +
console.log(action.name); action.name +
console.log('==========================='); '\n==========================='
} );
return action.testable(cb); return action.testable(cb);
}; };
}); });

View File

@ -32,11 +32,11 @@ function YamlFile(filename, docs) {
}); });
afterEach(/* doc */function () { afterEach(/* doc */function () {
if (!!process.env.JENKINS_HOME) { clientManager.get().transport.log.debug(
console.log('==========================='); '===========================\n' +
console.log('Cleanup'); 'Cleanup\n' +
console.log('==========================='); '==========================='
} );
return clientManager.get().clearEs(); return clientManager.get().clearEs();
}); });
}); });