Commit 98620352 authored by 赵啸非's avatar 赵啸非

添加批量激活设备

parent 1fe4c886
......@@ -127,7 +127,7 @@ public class AppPublishServiceImpl extends AbstractCRUDServiceImpl<AppPublishDao
String scriptPath = "/home/temp/" + appPublishEntity.getAppCode() + "/deploy.sh";
// ProcessBuilder sh = new ProcessBuilder("sh", scriptPath);
ProcessBuilder sh = new ProcessBuilder("/bin/sh /home/temp/" + appPublishEntity.getAppCode() + "/deploy.sh");
ProcessBuilder sh = new ProcessBuilder("sh","/home/temp/" + appPublishEntity.getAppCode() + "/deploy.sh");
asynExeLocalComand(null, sh);
//执行sh发布脚本
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment