Commit b23e89ab authored by tywldx's avatar tywldx

add lua-ui sed command

parent 6e4fdbaa
...@@ -42,6 +42,9 @@ def prepare_luaui(systemNames, contextDir) { ...@@ -42,6 +42,9 @@ def prepare_luaui(systemNames, contextDir) {
arrSystem = systemNames.split("--") arrSystem = systemNames.split("--")
for (systemName in arrSystem) { for (systemName in arrSystem) {
sh "cp -rf /home/quant_group/config_repository/lua-ui/config/${systemName}.js ${systemName}.env.config.js" sh "cp -rf /home/quant_group/config_repository/lua-ui/config/${systemName}.js ${systemName}.env.config.js"
sh "sed \"s/.xyqb.com/-$NAMESPACE.q-gp.com/g\" ${systemName}.env.config.js"
sh "sed \"s/.domain.com/-$NAMESPACE.q-gp.com/g\" ${systemName}.env.config.js"
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment