提交 2dc72a06 编写于 作者: ibizdev's avatar ibizdev

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

上级 06d75664
......@@ -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#/trainsys__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>
......
......@@ -1411,10 +1411,6 @@
"getPSSysCss" : {
"cssName" : "test3"
},
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
......@@ -1430,7 +1426,7 @@
"useDefaultLayout" : true
},
"title" : "手机普通表格",
"viewStyle" : "viewStyle",
"viewStyle" : "DEFAULT",
"viewType" : "DEGRIDVIEW",
"xDataControlName" : "grid",
"enableDP" : true,
......
......@@ -886,20 +886,6 @@
"path" : "PSSYSAPPS/TemplatePublish/PSAPPMODULES/Test.json"
} ],
"getAllPSAppPFPluginRefs" : [ {
"name" : "view插件",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"pluginCode" : "viewPlugin",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "view1",
"templCode2" : "view2",
"templCode3" : "view3",
"templCode4" : "view4"
}, {
"name" : "view插件",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
......@@ -1026,15 +1012,6 @@
"pluginCode" : "PubViewTest",
"typeCode" : "PubTest",
"viewType" : "DEDATAVIEW"
}, {
"name" : "viewStyle",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"pluginCode" : "viewPlugin",
"typeCode" : "viewStyle",
"viewType" : "DEGRIDVIEW"
}, {
"name" : "viewStyle",
"getPSSysPFPlugin" : {
......@@ -3768,10 +3745,6 @@
"getPSSysCss" : {
"cssName" : "test3"
},
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
......@@ -3787,7 +3760,7 @@
"useDefaultLayout" : true
},
"title" : "手机普通表格",
"viewStyle" : "viewStyle",
"viewStyle" : "DEFAULT",
"viewType" : "DEGRIDVIEW",
"xDataControlName" : "grid",
"enableDP" : true,
......
......@@ -2,20 +2,6 @@
"name" : "模板发布",
"simple" : "true",
"getAllPSAppPFPluginRefs" : [ {
"name" : "view插件",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"pluginCode" : "viewPlugin",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "view1",
"templCode2" : "view2",
"templCode3" : "view3",
"templCode4" : "view4"
}, {
"name" : "view插件",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
......
......@@ -1411,10 +1411,6 @@
"getPSSysCss" : {
"cssName" : "test3"
},
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
......@@ -1430,7 +1426,7 @@
"useDefaultLayout" : true
},
"title" : "手机普通表格",
"viewStyle" : "viewStyle",
"viewStyle" : "DEFAULT",
"viewType" : "DEGRIDVIEW",
"xDataControlName" : "grid",
"enableDP" : true,
......
......@@ -2151,20 +2151,6 @@
"refTag" : "FORM",
"templCode" : "<template>\r\n <button class='xx' @click='add'>xxx</button>\r\n </template>\r\n <script>\r\n export default {\r\n methods:{\r\n add(){\r\n alert('add')\r\n }\r\n }\r\n }\r\n </script>\r\n <style>\r\n .xx{\r\n color:red;\r\n }\r\n </style>\r\n",
"templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c(\\\"div\\\")}\\n}\",\"script\":\"\",\"style\":\"\"}"
}, {
"name" : "view插件",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"pluginCode" : "viewPlugin",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "view1",
"templCode2" : "view2",
"templCode3" : "view3",
"templCode4" : "view4"
}, {
"name" : "view插件",
"getPSSysPFPlugin" : {
......@@ -2327,15 +2313,6 @@
"pluginCode" : "PubViewTest",
"typeCode" : "PubTest",
"viewType" : "DEDATAVIEW"
}, {
"name" : "viewStyle",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"pluginCode" : "viewPlugin",
"typeCode" : "viewStyle",
"viewType" : "DEGRIDVIEW"
}, {
"name" : "viewStyle",
"getPSSysPFPlugin" : {
......
......@@ -13,20 +13,6 @@
"refTag" : "FORM",
"templCode" : "<template>\r\n <button class='xx' @click='add'>xxx</button>\r\n </template>\r\n <script>\r\n export default {\r\n methods:{\r\n add(){\r\n alert('add')\r\n }\r\n }\r\n }\r\n </script>\r\n <style>\r\n .xx{\r\n color:red;\r\n }\r\n </style>\r\n",
"templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c(\\\"div\\\")}\\n}\",\"script\":\"\",\"style\":\"\"}"
}, {
"name" : "view插件",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "viewPlugin"
},
"pluginCode" : "viewPlugin",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "view1",
"templCode2" : "view2",
"templCode3" : "view3",
"templCode4" : "view4"
}, {
"name" : "view插件",
"getPSSysPFPlugin" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册