Removed result logging

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 10 years ago
parent 52d634af7b
commit 9f793cb2f1
  1. 2
      BuildServer/lib/builder.js
  2. 4
      BuildServer/routes/manual.js
  3. 4
      BuildServer/routes/postreceive.js

@ -18,7 +18,7 @@ var notifyStatus = function (options, callback) {
description: ((options.description || "") + "").substr(0, 140) description: ((options.description || "") + "").substr(0, 140)
}, function (err, result) { }, function (err, result) {
if (err) { if (err) {
console.log("Error: " + err); console.log("Error while creating status: " + err);
return callback(err); return callback(err);
} }
return callback(); return callback();

@ -12,8 +12,8 @@ exports.post = function (req, res) {
builder.build(options, function (err, result) { builder.build(options, function (err, result) {
console.log("Done processing manual request"); console.log("Done processing manual request");
console.log("Error: " + err); console.log("Error: " + err);
console.log("Result:"); //console.log("Result:");
console.log(result); //console.log(result);
res.render('manual-done', {err: err, result: result}); res.render('manual-done', {err: err, result: result});
//res.render("manual-done", { err: err, result: result }); //res.render("manual-done", { err: err, result: result });
}); });

@ -22,8 +22,8 @@ module.exports = function (req, res) {
}, function (err, result) { }, function (err, result) {
console.log("Done processing request from GitHub"); console.log("Done processing request from GitHub");
console.log("Error: " + err); console.log("Error: " + err);
console.log("Result:"); //console.log("Result:");
console.log(result); //console.log(result);
res.send("Done processing request from GitHub\r\n" + "Error: " + err + "\r\n" + "Result: " + result); res.send("Done processing request from GitHub\r\n" + "Error: " + err + "\r\n" + "Result: " + result);
}); });
}; };
Loading…
Cancel
Save