文章目录 1.概述 1.概述 因为部署到不同的环境,需要远程执行一些命令,然后获取一些信息。 因此写了如下代码 因为包 <dependency> <groupId>ch.ethz.ganymed</groupId>