Authored by jimi

merge

@@ -54,7 +54,7 @@ pipeline { @@ -54,7 +54,7 @@ pipeline {
54 script { 54 script {
55 def PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}" 55 def PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}"
56 sh "git clone -b ${params.projectBranch} git@git.yoho.cn:${params.projectGitGroup}/${params.projectName}.git ${PROJECT_WORK_DIR}" 56 sh "git clone -b ${params.projectBranch} git@git.yoho.cn:${params.projectGitGroup}/${params.projectName}.git ${PROJECT_WORK_DIR}"
57 - if(params.isNeedCdn=='YES'){ 57 + if(params.isMergeMaster=='YES'){
58 sh "cd ${PROJECT_WORK_DIR} && git merge --no-ff feature/dockerMerge" 58 sh "cd ${PROJECT_WORK_DIR} && git merge --no-ff feature/dockerMerge"
59 } 59 }
60 60