Authored by 姜枫

修改状态修改问题

... ... @@ -21,7 +21,7 @@ class Build {
constructor(project) {
this.project = project;
this.state = 'waiting building';
this.silent = false;
this.silent = true;
}
build(env) {
... ...
... ... @@ -218,7 +218,7 @@
});
ws.on('/deploy/{{project._id}}', function(data){
$('#b-' + data.host).find('b').text(data.state);
$('#d-' + data.host).find('b').text(data.state);
});
ws.on('/deploy/{{project._id}}/log', function(data){
... ...