提交 6ebc63cd 编写于 作者: sq3536's avatar sq3536

init

上级 e59191f8
...@@ -99,7 +99,6 @@ TARGET=PSSYSTEM ...@@ -99,7 +99,6 @@ TARGET=PSSYSTEM
if [[ $para3 = all ]];then if [[ $para3 = all ]];then
sed -i "s#BaseUrl#//BaseUrl#g" public/environments/environment.js sed -i "s#BaseUrl#//BaseUrl#g" public/environments/environment.js
sed -i "3a BaseUrl: '/<#if sys.getDeploySysId()??><#if (sys.getDeploySysId()?length gt 16)>${sys.getName()?lower_case}<#else>${sys.getDeploySysId()?lower_case}</#if><#else>${sys.getName()?lower_case}</#if>__${pub.getPSApplication().getPKGCodeName()?lower_case}'," public/environments/environment.js sed -i "3a BaseUrl: '/<#if sys.getDeploySysId()??><#if (sys.getDeploySysId()?length gt 16)>${sys.getName()?lower_case}<#else>${sys.getDeploySysId()?lower_case}</#if><#else>${sys.getName()?lower_case}</#if>__${pub.getPSApplication().getPKGCodeName()?lower_case}'," public/environments/environment.js
cat public/environments/environment.js
sed -i "s#outputDir#//outputDir#g" vue.config.js sed -i "s#outputDir#//outputDir#g" vue.config.js
yarn yarn
ln -s /var/lib/jenkins/appcache/${depapp.getId()} node_modules/.cache ln -s /var/lib/jenkins/appcache/${depapp.getId()} node_modules/.cache
...@@ -154,9 +153,11 @@ TARGET=PSSYSTEM ...@@ -154,9 +153,11 @@ TARGET=PSSYSTEM
cd ${pub.getCodeName()?lower_case}-boot cd ${pub.getCodeName()?lower_case}-boot
mvn ibizlabcli:code mvn ibizlabcli:code
cd .. cd ..
set +e
git add . git add .
git commit -m "generator before deploy $para5" git commit -m "generator before deploy $para5"
git push origin master git push origin master
set -e
mvn package -Pboot mvn package -Pboot
<#if pub.getPSDeployCenter().getCDType()?? && (pub.getPSDeployCenter().getCDType()=="SWARM") > <#if pub.getPSDeployCenter().getCDType()?? && (pub.getPSDeployCenter().getCDType()=="SWARM") >
cd ${pub.getCodeName()?lower_case}-boot cd ${pub.getCodeName()?lower_case}-boot
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册