No more mirrorlist, so no more for
Change-Id: I10b654ee60b6e92e31e7ffef80c76e8d897f60ac
diff --git a/cicd/pipelines/tasks/task_update_mirrors.jenkins b/cicd/pipelines/tasks/task_update_mirrors.jenkins
index b6691e9..d950675 100644
--- a/cicd/pipelines/tasks/task_update_mirrors.jenkins
+++ b/cicd/pipelines/tasks/task_update_mirrors.jenkins
@@ -23,21 +23,17 @@
dir(sourcePath) {
container('debian') {
stage('Mirror') {
- for (mirror in mirrorList) {
- sh """
- aptly mirror list -raw \
- | xargs -n1 aptly update
- """
- }
+ sh """
+ aptly mirror list -raw \
+ | xargs -n1 aptly update
+ """
}
stage('Snapshot') {
- for (mirror in mirrorList) {
- sh """
- aptly mirror list -raw \
- | xargs -n1 -d_ aptly snapshot create _-${stamp} from mirror _
- """
- }
+ sh """
+ aptly mirror list -raw \
+ | xargs -n1 -d_ aptly snapshot create _-${stamp} from mirror _
+ """
}
}
}