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 () {
return self._actions.map(function (action) {
return function (cb) {
if (!!process.env.JENKINS_HOME) {
console.log('===========================');
console.log(action.name);
console.log('===========================');
}
clientManager.get().transport.log.debug(
'===========================\n' +
action.name +
'\n==========================='
);
return action.testable(cb);
};
});

View File

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