From: Vanessa Rene Valderrama Date: Tue, 25 Apr 2017 18:28:12 +0000 (-0500) Subject: Configure VPP to publish to packagecloud.io X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5616d88b84c148d9e72e7390933ab84ea29677d4;p=ci-management.git Configure VPP to publish to packagecloud.io Adding a sleep to the packagecloud push script to troubleshoot an issue where the merge jobs are failing intermittently due to the .packagecloud file not being created before the packagecloud scripts run Adding the packagecloud_push script to the VPP merge job to allow artifacts to be published to packagecloud repositories in addition to Nexus repositories Change-Id: Ic22e6d5d8ca90bf41ff64fca7d14504c5b0f33d7 Signed-off-by: Vanessa Rene Valderrama --- diff --git a/jjb/scripts/packagecloud_push.sh b/jjb/scripts/packagecloud_push.sh index af004a35d..6a44147a3 100644 --- a/jjb/scripts/packagecloud_push.sh +++ b/jjb/scripts/packagecloud_push.sh @@ -2,6 +2,8 @@ # PCIO_CO is a Jenkins Global Environment variable +sleep 10 + FACTER_OS=$(/usr/bin/facter operatingsystem) if [ -f ~/.packagecloud ]; then case "$FACTER_OS" in diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 76057cd69..ff3915181 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -257,6 +257,9 @@ !include-raw-escape: - ../scripts/maven_push_functions.sh - include-raw-vpp-maven-push.sh + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh publishers: - archive: