|
@@ -20,4 +20,13 @@ node {
|
|
sh "docker push ${xy_image}${projectList[i]}:${BUILD_NUMBER}"
|
|
sh "docker push ${xy_image}${projectList[i]}:${BUILD_NUMBER}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ stage('push aliyuncs registry') {
|
|
|
|
+ for (int i = 0; i < projectList.length ; i++) {
|
|
|
|
+ cd ${jenkins_home}
|
|
|
|
+ sh """
|
|
|
|
+ chmod +x ${jenkins_home}jenkins.py
|
|
|
|
+ python3 jenkins.py
|
|
|
|
+ """
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|