chore(test): 优化部署测试连接代码
- 在SSH连接前添加空行以改善代码可读性 - 为部署到SIT环境的测试方法增加代码结构清晰度
This commit is contained in:
parent
443cbfd194
commit
df250f13b0
|
|
@ -28,6 +28,7 @@ public class DeploySitTest {
|
||||||
@Test
|
@Test
|
||||||
public void DeployToSit() throws Exception {
|
public void DeployToSit() throws Exception {
|
||||||
SSHUtil sshUtil = new SSHUtil();
|
SSHUtil sshUtil = new SSHUtil();
|
||||||
|
|
||||||
sshUtil.connect("192.168.163.84", 22, "root", "CMP2025nf");
|
sshUtil.connect("192.168.163.84", 22, "root", "CMP2025nf");
|
||||||
//处理主jar包
|
//处理主jar包
|
||||||
handleFile(sshUtil, localPath + jarName, remotePath + jarName);
|
handleFile(sshUtil, localPath + jarName, remotePath + jarName);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue