Browse Source

更新 'Jenkinsfile'

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

+ 1 - 1
Jenkinsfile

@@ -14,7 +14,7 @@ ansiColor('xterm') {
 		stage('build images') {
 			for (int i = 0; i < projectList.length ; i++) {
 				echo "\u001B[32m############正在build images,项目名为:${projectList[i]}############\u001B[0m"
-					if (${projectList[i]} = 'mchsrv'){
+					if (${projectList[i]} == 'mchsrv'){
 						echo "11111111111111"
 					} else {
 						echo "222222222222"