Commit 912717e2 authored by daidekun's avatar daidekun

test

parent 7bfc8115
...@@ -72,9 +72,16 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName) ...@@ -72,9 +72,16 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
configName = systemName configName = systemName
print "==========================" print "=========================="
print "mv ./env.config.js ${configPath}"
sh "mv ./env.config.js ${configPath}" sh "mv ./env.config.js ${configPath}"
print buildCmd
sh buildCmd sh buildCmd
sh 'tar zcf dist.tgz dist/'
print 'tar zcf dist.tgz dist/'
sh 'tar zcf dist.tgz dist/'
print "mv dist.tgz ./${contextDir}"
sh "mv dist.tgz ./${contextDir}" sh "mv dist.tgz ./${contextDir}"
/* sh "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"*/ /* sh "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"*/
/*sh "ansible-playbook /etc/ansible/build.yml -e prefix=${namespace} -e project_name=pre.${systemName} -e workspace=${contextDir} -vv"*/ /*sh "ansible-playbook /etc/ansible/build.yml -e prefix=${namespace} -e project_name=pre.${systemName} -e workspace=${contextDir} -vv"*/
......
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