diff options
Diffstat (limited to 'jjb/scripts')
-rw-r--r-- | jjb/scripts/packagecloud_push.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/scripts/packagecloud_push.sh b/jjb/scripts/packagecloud_push.sh index 6a44147a3..8eba7f78c 100644 --- a/jjb/scripts/packagecloud_push.sh +++ b/jjb/scripts/packagecloud_push.sh @@ -1,11 +1,14 @@ #!/bin/bash - # PCIO_CO is a Jenkins Global Environment variable +set -xe -o pipefail + +echo "STARTING PACKAGECLOUD PUSH" + sleep 10 FACTER_OS=$(/usr/bin/facter operatingsystem) -if [ -f ~/.packagecloud ]; then +if [ -f /root/.packagecloud ]; then case "$FACTER_OS" in Ubuntu) FACTER_LSBNAME=$(/usr/bin/facter lsbdistcodename) |