From 33efe11ded28ce1f0024faa1d7032795c734a132 Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Mon, 23 Apr 2018 12:50:14 -0500 Subject: Modify the location of the packagecloud files This change is to modify the location of the packagecloud files to work within the containers. Change-Id: I1c2378a56b380e39848d9fdb7d8e89f7f8d81cfa Signed-off-by: Vanessa Rene Valderrama --- jjb/scripts/packagecloud_push.sh | 7 +++++-- jjb/vpp/vpp.yaml | 12 ++++++------ 2 files changed, 11 insertions(+), 8 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) diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index e8c0f91ef..5c7a6e3c3 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -298,11 +298,11 @@ - config-file-provider: files: - file-id: '.packagecloud' - target: '/home/jenkins' + target: '/root' - config-file-provider: files: - file-id: 'packagecloud_api' - target: '/home/jenkins' + target: '/root' - maven-target: maven-version: 'mvn33-new' goals: '--version' @@ -639,11 +639,11 @@ - config-file-provider: files: - file-id: '.packagecloud' - target: '/home/jenkins' + target: '/root' - config-file-provider: files: - file-id: 'packagecloud_api' - target: '/home/jenkins' + target: '/root' - maven-target: maven-version: 'mvn33-new' goals: '--version' @@ -731,11 +731,11 @@ - config-file-provider: files: - file-id: '.packagecloud' - target: '/home/jenkins' + target: '/root' - config-file-provider: files: - file-id: 'packagecloud_api' - target: '/home/jenkins' + target: '/root' - maven-target: maven-version: 'mvn33-new' goals: '--version' -- cgit 1.2.3-korg