Commit af1cde8e authored by daidekun's avatar daidekun

fixbugs

parent d3f0f5d9
......@@ -72,17 +72,17 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
configName = systemName
print "=========================="
/* print "mv ./env.config.js ${configPath}"
sh "mv ./env.config.js ${configPath}"*/
print "mv -f ./env.config.js ${configPath}"
sh "mv -f ./env.config.js ${configPath}"
print buildCmd
/* sh buildCmd
print 'tar zcf dist.tgz dist/'
sh 'tar zcf dist.tgz dist/'
sh buildCmd
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/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