...
|
...
|
@@ -191,7 +191,7 @@ const p = { |
|
|
msg: '该版本不存在'
|
|
|
};
|
|
|
} else if (building.state == 'success') {
|
|
|
let project = await Project.findByName(building.project);
|
|
|
let project = await Project.findById(building.projectId);
|
|
|
let targets = project.deploy[building.env].target;
|
|
|
|
|
|
targets.forEach(async(host) => {
|
...
|
...
|
|