Commit fe172d5f authored by 智勇's avatar 智勇

up

parent ad9b7170
......@@ -273,10 +273,6 @@ def checkout_java(systemName, branchName) {
def gitPath =projectAttr["gitPath"]
def configPath = projectAttr["configPath"]
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath
//if(systemName =="credit_league"){
// sh "cp -rf /home/quant_group/config_repository/java/${systemName}.properties ${configPath}/application.properties"
//}
}
def checkout_python(systemName, branchName) {
......@@ -339,6 +335,8 @@ def checkout_luaui(systemName, branchName) {
def hookfolder = new File( "${currentPath}/.git/hooks" )
def packejson = new File( "${currentPath}/package.json" )
sh "cp -rf /home/quant_group/qg-dockerfiles/tke/ui/npmrc/common-npmrc /root/.npmrc"
if(!hookfolder.exists()){
echo ">>>>>>> first checkout project ${systemName}"
......@@ -588,7 +586,7 @@ def deploy(namespace, systemName, imageTag, tier, isDeploy) {
def clean_images(imageTag,imageTagCode,contextDir) {
sh "rm -rf ${contextDir}"
// sh "rm -rf ${contextDir}"
if (imageTag){
sh "docker rmi -f \$(docker images -q ${imageTag})"
sh "docker rmi -f \$(docker images -q ${imageTagCode})"
......
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