提交 24a0cf54 编写于 作者: ibiz4j's avatar ibiz4j

deploy

上级 028d3bf6
...@@ -82,14 +82,14 @@ TARGET=PSSYSTEM ...@@ -82,14 +82,14 @@ TARGET=PSSYSTEM
mkdir -p /var/lib/jenkins/appcache/${depapp.getId()} mkdir -p /var/lib/jenkins/appcache/${depapp.getId()}
if [ -e app_${pub.getPSApplication().getPKGCodeName()}/app/vue.config.js ] if [ -e app_${pub.getPSApplication().getPKGCodeName()}/app/vue.config.js ]
then then
mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/${pub.getCodeName()?lower_case}-app-${pub.getPSApplication().getPKGCodeName()}.yaml app_${pub.getPSApplication().getPKGCodeName()}/app/swarm.yaml mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/${pub.getCodeName()?lower_case}-app-${pub.getPSApplication().getPKGCodeName()?lower_case}.yaml app_${pub.getPSApplication().getPKGCodeName()}/app/swarm.yaml
mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/Dockerfile-APP app_${pub.getPSApplication().getPKGCodeName()}/app/Dockerfile mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/Dockerfile-APP app_${pub.getPSApplication().getPKGCodeName()}/app/Dockerfile
mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/gateway-${pub.getPSApplication().getPKGCodeName()}.yml app_${pub.getPSApplication().getPKGCodeName()}/app/application-gateway.yml mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/gateway-${pub.getPSApplication().getPKGCodeName()?lower_case}.yml app_${pub.getPSApplication().getPKGCodeName()}/app/application-gateway.yml
cd app_${pub.getPSApplication().getPKGCodeName()}/app cd app_${pub.getPSApplication().getPKGCodeName()}/app
else else
mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/${pub.getCodeName()?lower_case}-app-${pub.getPSApplication().getPKGCodeName()}.yaml app_${pub.getPSApplication().getPKGCodeName()}/swarm.yaml mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/${pub.getCodeName()?lower_case}-app-${pub.getPSApplication().getPKGCodeName()?lower_case}.yaml app_${pub.getPSApplication().getPKGCodeName()}/swarm.yaml
mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/Dockerfile-APP app_${pub.getPSApplication().getPKGCodeName()}/Dockerfile mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/Dockerfile-APP app_${pub.getPSApplication().getPKGCodeName()}/Dockerfile
mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/gateway-${pub.getPSApplication().getPKGCodeName()}.yml app_${pub.getPSApplication().getPKGCodeName()}/application-gateway.yml mv -f ${pub.getCodeName()?lower_case}-boot/src/main/docker/gateway-${pub.getPSApplication().getPKGCodeName()?lower_case}.yml app_${pub.getPSApplication().getPKGCodeName()}/application-gateway.yml
cd app_${pub.getPSApplication().getPKGCodeName()} cd app_${pub.getPSApplication().getPKGCodeName()}
fi fi
<#if depapp.getUserParam("dockerimage","")?? && depapp.getUserParam("dockerimage","")!=""> <#if depapp.getUserParam("dockerimage","")?? && depapp.getUserParam("dockerimage","")!="">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册