jenkins.console_output('iosBuild', '#415', { depth: 1 }, function (err, data) { if (err) { return console.log(err); } console.log(data) }); when i write this way, data.body is a jenkins html is this right ? i think data.body should be the log of the build,like this "started by user ...."