Browse Source

更新 'Jenkinsfile'

chenghongxi 4 years ago
parent
commit
df223436c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -19,7 +19,7 @@ ansiColor('xterm') {
 					if ("${projectList[i]}" == "${sharev2list}") {
 						sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/share-v2/${projectList[i]}/Dockerfile ${jenkins_home}/share-v2/${projectList[i]}"
 						echo "11111111111111111111111111"
-					} else if ("${projectList[i]}" == "${logonsvrlist[j]}") {
+					} else if ("${projectList[i]}" == "${logonsvrlist}") {
 						sh "docker build -t ${xy_image}/${projectList[i]}:${release} -f ${jenkins_home}/logonsvr/${projectList[i]}/Dockerfile ${jenkins_home}/logonsvr/${projectList[i]}"
 					} else {
 						echo "222222222222"