Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
oliversalzburg committed Jul 21, 2016
1 parent 835e783 commit cdc916b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/job.js
Original file line number Diff line number Diff line change
@@ -341,6 +341,8 @@ Job.prototype = {
runPhase: function (next) {
if (this.cancelled) return;

debug('Running phase', this.phase);

var tasks = [];
var started = new Date();
var self = this;
@@ -353,6 +355,7 @@ Job.prototype = {
}

this.plugins.forEach(function (plugin) {
debug('Running plugin', plugin.id);
// all plugins will get the final, fully populated env object
_.extend(env, ('function' === typeof plugin.env) ? plugin.env(self.phase) : plugin.env);

0 comments on commit cdc916b

Please sign in to comment.