summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/scripts/packagecloud_push.sh7
-rw-r--r--jjb/vpp/vpp.yaml12
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 6520709f1..f433ed032 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'