commit | 01719f70ea0748c9edbf2327cdfb337a302a302a | [log] [tgz] |
---|---|---|
author | Jakub Josef <jakub.josef@gmail.com> | Mon Mar 26 12:28:49 2018 +0200 |
committer | Jakub Josef <jakub.josef@gmail.com> | Mon Mar 26 13:09:02 2018 +0200 |
tree | 6bb2eaa98f800d4854ceec83e3a6b302a5b3fd89 | |
parent | b5871e4c2bbe6b3764f56f3282759cef62dd9be9 [diff] [blame] |
Added retry step to aptly publishing during pkg build Change-Id: Ie9521f39aab5f43af9513944c420f303ca91825e
diff --git a/build-debian-packages-libvirt-exporter.groovy b/build-debian-packages-libvirt-exporter.groovy index 2051504..4c3f732 100644 --- a/build-debian-packages-libvirt-exporter.groovy +++ b/build-debian-packages-libvirt-exporter.groovy
@@ -60,7 +60,9 @@ } stage("publish") { aptly.snapshotRepo(APTLY_URL, APTLY_REPO, timestamp) - aptly.publish(APTLY_URL) + retry(2){ + aptly.publish(APTLY_URL) + } } } }