Commit bbf42d3b authored by daidekun's avatar daidekun

fixbugs

parent 6685dd46
...@@ -109,10 +109,11 @@ def build_nodejs(namespace, systemName, contextDir, repoName, branchName, worksp ...@@ -109,10 +109,11 @@ def build_nodejs(namespace, systemName, contextDir, repoName, branchName, worksp
sh "bower install" sh "bower install"
} }
/* sh "cp -rf /home/quant_group/jenkins_home/workspace/pre.${systemName}/node_modules/ node_modules"*/ /* sh "cp -rf /home/quant_group/jenkins_home/workspace/pre.${systemName}/node_modules/ node_modules"
*/
sh "mv -f env.config.js ${configPath}" sh "mv -f env.config.js ${configPath}"
sh "npm install --registry=https://registry.npm.taobao.org" sh "npm install --registry http://172.16.3.15:4873"
sh 'tar zcf dist.tgz ./*' sh 'tar zcf dist.tgz ./*'
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