fix: 调整 playbook 执行时serial 参数获取
This commit is contained in:
@@ -864,9 +864,9 @@ public class AdbUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public CommandResult execPlaybook(String playbookPath) {
|
public CommandResult execPlaybook(String playbookPath) {
|
||||||
log.info("[execPlaybook] [begin!]");
|
log.info("[execPlaybook] [begin!] [serial:{}]", this.getSerial());
|
||||||
Process process = CommandExec.execForProcess(new AdbCommandBuilder("airtest")
|
Process process = CommandExec.execForProcess(new AdbCommandBuilder("airtest")
|
||||||
.buildRunPlaybook(playbookPath, this.serial)
|
.buildRunPlaybook(playbookPath, this.getSerial())
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
ExecutorService executor = Executors.newSingleThreadExecutor();
|
ExecutorService executor = Executors.newSingleThreadExecutor();
|
||||||
|
|||||||
Reference in New Issue
Block a user