提交 0c3e4eec 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 462a538d
...@@ -40,14 +40,14 @@ ...@@ -40,14 +40,14 @@
mvn install mvn install
cd .. cd ..
mvn install mvn install
cd ps-app/ps-app-web cd ps-boot
mvn clean package -Pprod mvn clean package
echo 'echo "$para1"' > apppasswd.sh echo 'echo "$para1"' > apppasswd.sh
chmod -R 777 * chmod -R 777 *
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "mkdir -p /ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6" setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "mkdir -p /ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5"
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' scp -r ./target/ps-app-web.jar root@172.16.102.61:/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6 setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' scp -r ./target/ps.jar root@172.16.102.61:/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "ps -ef | grep '/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6'| 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.61 "ps -ef | grep '/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5'| 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.61 "source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6/ps-app-web.jar >>/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6/ps_appps 应用-`date --date='0 days ago' +%Y-%m-%d`.log 2>&1 &" setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5/ps.jar >>/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5/ps_apips 服务-`date --date='0 days ago' +%Y-%m-%d`.log 2>&1 &"
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -58,7 +58,7 @@ public class healthcheckClientServiceImpl implements IhealthcheckClientService { ...@@ -58,7 +58,7 @@ public class healthcheckClientServiceImpl implements IhealthcheckClientService {
.contract(contract) .contract(contract)
.requestInterceptor(feignRequestInterceptor) .requestInterceptor(feignRequestInterceptor)
; ;
this.healthcheckFeignClient = nameBuilder.target(healthcheckFeignClient.class,"http://"+htscClientProperties.getServiceUrl()+"/") ; this.healthcheckFeignClient = nameBuilder.target(healthcheckFeignClient.class,htscClientProperties.getServiceUrl()) ;
} }
} }
@Override @Override
......
...@@ -58,7 +58,7 @@ public class IMClientServiceImpl implements IIMClientService { ...@@ -58,7 +58,7 @@ public class IMClientServiceImpl implements IIMClientService {
.contract(contract) .contract(contract)
.requestInterceptor(feignRequestInterceptor) .requestInterceptor(feignRequestInterceptor)
; ;
this.iMFeignClient = nameBuilder.target(IMFeignClient.class,"http://"+imClientProperties.getServiceUrl()+"/") ; this.iMFeignClient = nameBuilder.target(IMFeignClient.class,imClientProperties.getServiceUrl()) ;
} }
} }
@Override @Override
......
...@@ -58,7 +58,7 @@ public class OrgClientServiceImpl implements IOrgClientService { ...@@ -58,7 +58,7 @@ public class OrgClientServiceImpl implements IOrgClientService {
.contract(contract) .contract(contract)
.requestInterceptor(feignRequestInterceptor) .requestInterceptor(feignRequestInterceptor)
; ;
this.orgFeignClient = nameBuilder.target(OrgFeignClient.class,"http://"+orgClientProperties.getServiceUrl()+"/") ; this.orgFeignClient = nameBuilder.target(OrgFeignClient.class,orgClientProperties.getServiceUrl()) ;
} }
} }
@Override @Override
......
...@@ -58,7 +58,7 @@ public class OrgDeptClientServiceImpl implements IOrgDeptClientService { ...@@ -58,7 +58,7 @@ public class OrgDeptClientServiceImpl implements IOrgDeptClientService {
.contract(contract) .contract(contract)
.requestInterceptor(feignRequestInterceptor) .requestInterceptor(feignRequestInterceptor)
; ;
this.orgDeptFeignClient = nameBuilder.target(OrgDeptFeignClient.class,"http://"+orgClientProperties.getServiceUrl()+"/") ; this.orgDeptFeignClient = nameBuilder.target(OrgDeptFeignClient.class,orgClientProperties.getServiceUrl()) ;
} }
} }
@Override @Override
......
...@@ -58,7 +58,7 @@ public class OrgDeptUserClientServiceImpl implements IOrgDeptUserClientService { ...@@ -58,7 +58,7 @@ public class OrgDeptUserClientServiceImpl implements IOrgDeptUserClientService {
.contract(contract) .contract(contract)
.requestInterceptor(feignRequestInterceptor) .requestInterceptor(feignRequestInterceptor)
; ;
this.orgDeptUserFeignClient = nameBuilder.target(OrgDeptUserFeignClient.class,"http://"+orgClientProperties.getServiceUrl()+"/") ; this.orgDeptUserFeignClient = nameBuilder.target(OrgDeptUserFeignClient.class,orgClientProperties.getServiceUrl()) ;
} }
} }
@Override @Override
......
...@@ -58,7 +58,7 @@ public class OrgUserClientServiceImpl implements IOrgUserClientService { ...@@ -58,7 +58,7 @@ public class OrgUserClientServiceImpl implements IOrgUserClientService {
.contract(contract) .contract(contract)
.requestInterceptor(feignRequestInterceptor) .requestInterceptor(feignRequestInterceptor)
; ;
this.orgUserFeignClient = nameBuilder.target(OrgUserFeignClient.class,"http://"+orgClientProperties.getServiceUrl()+"/") ; this.orgUserFeignClient = nameBuilder.target(OrgUserFeignClient.class,orgClientProperties.getServiceUrl()) ;
} }
} }
@Override @Override
......
...@@ -46,7 +46,7 @@ public class PSCreateAndStartIMLogicImpl implements IPSCreateAndStartIMLogic{ ...@@ -46,7 +46,7 @@ public class PSCreateAndStartIMLogicImpl implements IPSCreateAndStartIMLogic{
kieSession.startProcess("com.ibiz.core.module.service.logic.pscreateandstartim"); kieSession.startProcess("com.ibiz.core.module.service.logic.pscreateandstartim");
}catch(Exception e){ }catch(Exception e){
System.out.println("执行[CreateAndStartIM]处理逻辑发生异常"+e); throw new RuntimeException("执行[CreateAndStartIM]处理逻辑发生异常"+e);
}finally { }finally {
if(kieSession!=null) if(kieSession!=null)
kieSession.destroy(); kieSession.destroy();
......
...@@ -43,7 +43,7 @@ public class PSXDLogicImpl implements IPSXDLogic{ ...@@ -43,7 +43,7 @@ public class PSXDLogicImpl implements IPSXDLogic{
kieSession.startProcess("com.ibiz.core.module.service.logic.psxd"); kieSession.startProcess("com.ibiz.core.module.service.logic.psxd");
}catch(Exception e){ }catch(Exception e){
System.out.println("执行[下单]处理逻辑发生异常"+e); throw new RuntimeException("执行[下单]处理逻辑发生异常"+e);
}finally { }finally {
if(kieSession!=null) if(kieSession!=null)
kieSession.destroy(); kieSession.destroy();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册