提交 9f97c95f 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 8d0e097f
......@@ -55,36 +55,6 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
mkdir -p /var/lib/jenkins/appcache/64777BB9-78E2-44DD-AEF6-FF87AC45C1D5
if [ -e app_Mob/.dynamic ]
then
cd app_Mob
else
cd app_Mob/app
fi
sed -i "s#dstimage#$para5#g" swarm.yaml
if [[ $para3 = all ]];then
mv Dockerfile-ALL Dockerfile
set +e
sed -i "s#/api#/sztrainsys__mob#g" src/environments/environment.ts
sed -i "s#outputDir#//outputDir#g" vue.config.js
set -e
yarn
ln -s /var/lib/jenkins/appcache/64777BB9-78E2-44DD-AEF6-FF87AC45C1D5 node_modules/.cache
yarn build
else
if [ -e .dynamic ]
then
mv ../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob model
else
mv ../../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Mob model
fi
sed -i "s#srcimagename#$para4#g" Dockerfile-MODEL
mv Dockerfile-MODEL Dockerfile
fi
docker build -t $para5 .
docker push $para5
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -24,9 +24,9 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
},
"getPSAppViewNavParams" : [ {
"key" : "srfapptype",
"name" : "srfapptype",
"value" : "pc",
"key" : "srfapp",
"name" : "srfapp",
"value" : "Web",
"rawValue" : true
}, {
"key" : "todosubtype",
......
......@@ -24,9 +24,9 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
},
"getPSAppViewNavParams" : [ {
"key" : "srfapptype",
"name" : "srfapptype",
"value" : "pc",
"key" : "srfapp",
"name" : "srfapp",
"value" : "Web",
"rawValue" : true
}, {
"key" : "todosubtype",
......
......@@ -25,9 +25,9 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
},
"getPSAppViewNavParams" : [ {
"key" : "srfapptype",
"name" : "srfapptype",
"value" : "pc",
"key" : "srfapp",
"name" : "srfapp",
"value" : "Web",
"rawValue" : true
}, {
"key" : "todosubtype",
......
......@@ -24,9 +24,9 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
},
"getPSAppViewNavParams" : [ {
"key" : "srfapptype",
"name" : "srfapptype",
"value" : "pc",
"key" : "srfapp",
"name" : "srfapp",
"value" : "Web",
"rawValue" : true
}, {
"key" : "todosubtype",
......
......@@ -24,9 +24,9 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Test.json"
},
"getPSAppViewNavParams" : [ {
"key" : "srfapptype",
"name" : "srfapptype",
"value" : "pc",
"key" : "srfapp",
"name" : "srfapp",
"value" : "Web",
"rawValue" : true
}, {
"key" : "todosubtype",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册