|
@@ -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]}"
|
|
}
|
|
}
|
|
}
|
|
}
|