diff --git a/scheduler.js b/scheduler.js index d04f002..869cedb 100644 --- a/scheduler.js +++ b/scheduler.js @@ -20,7 +20,8 @@ exports.init = function(app, callback) { logger.log('Run project "%s"', project.name); distributor.run({ projectName: project.name, - withScmChangesOnly: project.buildEvery.withScmChangesOnly + withScmChangesOnly: project.buildEvery.withScmChangesOnly, + initiator: {type: 'scheduler'} }); }, start: true diff --git a/static/js/app/components/builds/view.jade b/static/js/app/components/builds/view.jade index e57a2da..caa7d5e 100644 --- a/static/js/app/components/builds/view.jade +++ b/static/js/app/components/builds/view.jade @@ -23,9 +23,7 @@ div.row .text-muted(style={marginTop: '-10px'}) | Initiated by - var initiator = this.state.build.initiator; - if initiator.type === 'user' - span user - else if initiator.type === 'build' + if initiator.type === 'build' Link(to="project", params={name: initiator.project.name}) span= initiator.project.name |