Removed result logging

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 11 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)
}, function (err, result) {
if (err) {
console.log("Error: " + err);
console.log("Error while creating status: " + err);
return callback(err);
}
return callback();

@ -12,8 +12,8 @@ exports.post = function (req, res) {
builder.build(options, function (err, result) {
console.log("Done processing manual request");
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 });
});

@ -22,8 +22,8 @@ module.exports = function (req, res) {
}, function (err, result) {
console.log("Done processing request from GitHub");
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);
});
};
Loading…
Cancel
Save