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

fangzhihao 部署微服务应用 [TrainSys,网页端]

上级 c0bb5c16
......@@ -3,7 +3,7 @@ services:
trainsys-app-web:
image: dstimage
ports:
- "80:80"
- "50100:80"
networks:
- agent_network
environment:
......
......@@ -55,6 +55,15 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/
mkdir -p /var/lib/jenkins/appcache/A3064A91-F42D-4D7F-BC1C-4173A4F5772C
if [ -e app_Web/.dynamic ]
then
cd app_Web
else
cd app_Web/app
fi
sed -i "s#dstimage#registry.cn-shanghai.aliyuncs.com/ibizsys/ibizcloud-standardsys-app-webapp:2022.09.01.001#g" swarm.yaml
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -4029,6 +4029,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
},
......@@ -4145,6 +4146,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -124,6 +124,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
},
......@@ -329,6 +330,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -230,6 +230,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
},
......@@ -435,6 +436,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1204,6 +1204,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -355,6 +355,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -850,6 +850,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -536,6 +536,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -903,6 +903,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -2156,6 +2156,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1315,6 +1315,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1281,6 +1281,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......@@ -2397,6 +2398,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -137,6 +137,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1203,6 +1203,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1503,6 +1503,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -777,6 +777,7 @@
"regExCode" : "[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+",
"ruleInfo" : "内容必须为电子邮件格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule16",
"enableBackend" : true,
"enableFront" : true
},
......@@ -792,6 +793,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -355,6 +355,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -102,6 +102,7 @@
"regExCode" : "[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+",
"ruleInfo" : "内容必须为电子邮件格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule16",
"enableBackend" : true,
"enableFront" : true
},
......@@ -117,6 +118,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -124,6 +124,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
},
......@@ -329,6 +330,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -702,6 +702,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -850,6 +850,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -535,6 +535,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -480,6 +480,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -902,6 +902,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1086,6 +1086,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -230,6 +230,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
},
......@@ -435,6 +436,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -228,6 +228,7 @@
"regExCode" : "[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+",
"ruleInfo" : "内容必须为电子邮件格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule16",
"enableBackend" : true,
"enableFront" : true
},
......@@ -243,6 +244,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -254,6 +254,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -809,6 +809,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1621,6 +1621,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1952,6 +1952,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......@@ -3068,6 +3069,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1724,6 +1724,7 @@
"regExCode" : "[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+",
"ruleInfo" : "内容必须为电子邮件格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule16",
"enableBackend" : true,
"enableFront" : true
},
......@@ -1739,6 +1740,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -2155,6 +2155,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -1313,6 +1313,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
},
......
......@@ -42158,6 +42158,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
},
......@@ -42363,6 +42364,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
},
......@@ -5,6 +5,7 @@
"regExCode" : "\\w+",
"ruleInfo" : "内容必须由数字、26个英文字母或者下划线组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "((-\\d+(\\.\\d+)?)|(0+(\\.0+)?))+",
"ruleInfo" : "内容必须为非正浮点数(负浮点数 + 0)",
"ruleType" : "REG",
"uniqueTag" : "ValueRule10",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "(-(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*)))+",
"ruleInfo" : "内容必须为负浮点数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule11",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "(-?\\d+)(\\.\\d+)?",
"ruleInfo" : "内容必须为浮点数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule12",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[A-Z]+",
"ruleInfo" : "内容必须由26个英文字母的大写组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule13",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[A-Za-z]+",
"ruleInfo" : "内容必须为26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule14",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[a-z]+",
"ruleInfo" : "内容必须为26个英文字母的小写组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule15",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[\\w-]+(\\.[\\w-]+)*@[\\w-]+(\\.[\\w-]+)+",
"ruleInfo" : "内容必须为电子邮件格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule16",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[a-zA-z]+://(\\w+(-\\w+)*)(\\.(\\w+(-\\w+)*))*(\\?\\S*)?",
"ruleInfo" : "内容必须为有效URL格式",
"ruleType" : "REG",
"uniqueTag" : "ValueRule17",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[^\\\\\\/\\:\\*\\?\\\"\\<\\>\\|]+(\\[^\\\\\\/\\:\\*\\?\\\"\\<\\>\\|]+)*",
"ruleInfo" : "内容不能包括/、\\、?、*、<、>、:",
"ruleType" : "REG",
"uniqueTag" : "ValueRule18",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[a-zA-Z_$][a-zA-Z0-9_$]*",
"ruleInfo" : "内容必须为字符及数字组成,且开始必须为字符。",
"ruleType" : "REG",
"uniqueTag" : "ValueRule19",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[A-Za-z0-9]+",
"ruleInfo" : "内容必须由数字和26个英文字母组成的字符串",
"ruleType" : "REG",
"uniqueTag" : "ValueRule2",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"uniqueTag" : "ValueRule20",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -6,6 +6,7 @@
"regExCode" : "^(\\d{15}$|^\\d{18}$|^\\d{17}(\\d|X|x))$",
"ruleInfo" : "请输入15位或18位身份证号!",
"ruleType" : "REG",
"uniqueTag" : "ValueRule210",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "\\d+",
"ruleInfo" : "内容必须为非负整数(正整数 + 0)",
"ruleType" : "REG",
"uniqueTag" : "ValueRule3",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为正整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule4",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "((-\\d+)|(0+))+",
"ruleInfo" : "内容必须为正整数(负整数 + 0)",
"ruleType" : "REG",
"uniqueTag" : "ValueRule5",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "-[0-9]*[1-9][0-9]*",
"ruleInfo" : "内容必须为负整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule6",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "-?\\d+",
"ruleInfo" : "内容必须为整数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule7",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "\\d+(\\.\\d+)?",
"ruleInfo" : "内容必须为非负浮点数(正浮点数 + 0)",
"ruleType" : "REG",
"uniqueTag" : "ValueRule8",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
"regExCode" : "(([0-9]+\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\.[0-9]+)|([0-9]*[1-9][0-9]*))+",
"ruleInfo" : "内容必须为正浮点数",
"ruleType" : "REG",
"uniqueTag" : "ValueRule9",
"enableBackend" : true,
"enableFront" : true
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册