Configure VPP to publish to packagecloud.io 31/6431/2
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 25 Apr 2017 18:28:12 +0000 (13:28 -0500)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Wed, 26 Apr 2017 15:46:00 +0000 (10:46 -0500)
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 <vvalderrama@linuxfoundation.org>
jjb/scripts/packagecloud_push.sh
jjb/vpp/vpp.yaml

index af004a3..6a44147 100644 (file)
@@ -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
index 76057cd..ff39151 100644 (file)
             !include-raw-escape:
                 - ../scripts/maven_push_functions.sh
                 - include-raw-vpp-maven-push.sh
+        - shell:
+            !include-raw-escape:
+                - ../scripts/packagecloud_push.sh
 
     publishers:
         - archive: