Browse Source

更新 'Jenkinsfile'

chenghongxi 4 years ago
parent
commit
139692e214
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -31,8 +31,8 @@ ansiColor('xterm') {
 		}
 		}
 		stage('push aliyuncs registry') {
 		stage('push aliyuncs registry') {
 			for (int i = 0; i < projectList.length ; i++) {
 			for (int i = 0; i < projectList.length ; i++) {
-				sh "cd ${jenkins_home}"
-				sh "chmod +x ${jenkins_home}jenkins.py"
+				sh "cd ${jenkins_home}/"
+				sh "chmod +x ${jenkins_home}/jenkins.py"
 				sh "python3 jenkins.py ${projectList[i]}"
 				sh "python3 jenkins.py ${projectList[i]}"
          	}
          	}
 		}
 		}