Commit 65389be4 authored by daidekun's avatar daidekun

fixbug

parent 23e5b717
...@@ -97,11 +97,13 @@ def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) ...@@ -97,11 +97,13 @@ def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace)
if (systemName == "xyqb-ui") { if (systemName == "xyqb-ui") {
sh "grunt build --force" sh "grunt build --force"
}else{ }else if (systemName == "new-mall-ui"){
sh "npm install --registry http://172.16.3.15:4873"
}
else{
sh buildCmd sh buildCmd
} }
sh 'tar zcf dist.tgz dist/' sh 'tar zcf dist.tgz dist/'
sh "mv dist.tgz ${contextDir}" sh "mv dist.tgz ${contextDir}"
} }
......
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