代码拉取完成,页面将自动刷新
@echo off
echo -----------------------------------------
echo 重启服务
echo -----------------------------------------
echo 发包
clean package spring-boot:repackage -Dmaven.test.skip=true -s E:\m2\settings.unit.case.ms.xml
rem winscp /console /command "option batch continue" "open glcloud001:Glsoft@2018@192.168.0.58:22" "cd /home/glcloud001/gl-1002-gyrsrc/jars" "put F:\GLCloud\gl-cloud-group-v3\gl-workflow\gl-workflows\gl-1002-workflow-salary-civil\target\gl-1002-workflow-salary-civil-1.0.0-exec.jar" "cd /home/glcloud001/gl-1002-gyrsrc" "call ./gl-1002-workflow-salary-civil.sh" "exit"
rem winscp /console /command "option batch continue" "open glcloud001:123@123@192.168.62.126:22" "cd /home/unit-case-ms/" "call ./demo02.sh" "exit"
rem winscp /console /command "option batch continue" "option confirm off" "open sftp://root:root@10.168.38.72:22" "option transfer binary" "get /test.txt D:\sftptest\" "exit" /log=D:\sftptest\log.txt
winscp /console /command "option batch continue" "option confirm off" "open sftp://root:119119@Zh@192.168.62.126:22" "option transfer binary" "cd /home/unit-case-ms" "call ./demo02-stop.sh" "call ./demo06-stop.sh" "exit"
rem 02
winscp /console /command "option batch continue" "option confirm off" "open sftp://root:119119@Zh@192.168.62.126:22" "option transfer binary" "cd /home/unit-case-ms" "put F:\Java\unit-case-ms\demo02-user-auth-center\target\demo02-user-auth-center-1.0.0.jar" "call ./demo02-restart.sh" "exit"
rem 06
winscp /console /command "option batch continue" "option confirm off" "open sftp://root:119119@Zh@192.168.62.126:22" "option transfer binary" "cd /home/unit-case-ms" "put F:\Java\unit-case-ms\demo06-mysql-data-provider\target\demo06-mysql-data-provider-1.0.0.jar" "call ./demo06-restart.sh" "exit"
rem
echo publish end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。