提交 3285e07f 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 7587f9e1
......@@ -40,6 +40,14 @@
mvn install
cd ..
mvn install
cd im-boot
mvn clean package
echo 'echo "$para1"' > apppasswd.sh
chmod -R 777 *
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.41 "mkdir -p /ibiz/nodes/node2/CCF487B5-45A8-4D01-8BA4-754E54BD935B"
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' scp -r ./target/im.jar root@172.16.102.41:/ibiz/nodes/node2/CCF487B5-45A8-4D01-8BA4-754E54BD935B
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.41 "ps -ef | grep '/ibiz/nodes/node2/CCF487B5-45A8-4D01-8BA4-754E54BD935B'| tr -s ' '|cut -d' ' -f2,8,9 | grep -v grep | grep 'jar' | cut -d' ' -f1|xargs --no-run-if-empty kill -9"
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.41 "source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node2/CCF487B5-45A8-4D01-8BA4-754E54BD935B/im.jar >>/ibiz/nodes/node2/CCF487B5-45A8-4D01-8BA4-754E54BD935B/poc_apipoc 服务-`date --date='0 days ago' +%Y-%m-%d`.log 2>&1 &"
</command>
</hudson.tasks.Shell>
</builders>
......
server:
port: 8080
port: 9901
spring:
application:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册