Commit e00b872d authored by daidekun's avatar daidekun

pwd

parent 2cf2ccb0
......@@ -37,8 +37,6 @@ def prepare_python(contextDir) {
def checkout(branchName, gitRepo) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: "git@gitabc.xyqb.com:${gitRepo}.git"
sh "git pull origin master"
sh "pwd"
sh "ls -l"
}
def build_java(namespace, systemName, contextDir) {
......@@ -75,7 +73,7 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
print configName
print "=========================="
sh "pwd()"
sh "pwd"
sh "ls -l"
print "mv -f env.config.js ${configPath}"
......@@ -89,8 +87,6 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
print "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"*/
}
......
sh "mkdir -p ${contextDir}/config/"
sh "cp -rf /home/quant_group/config_repository/java/${systemName}.properties ${contextDir}/config/application.properties"
/* 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"*/
\ No newline at end of file
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