summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-12-23 19:53:55 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-12-23 19:53:55 +0100
commitb21926405bb1987b0665eef8139a0951d4426d36 (patch)
tree3b1ee56edd18b03d59adfd56684100b91bf52429
parentea2f52db7d79dc3d9c256ee5891b4f34cb06eb32 (diff)
Mount .boto when dumping all logs
It fixes the current issue [1]. [1] https://build.opnfv.org/ci/job/airship-latest-zip/2/console Change-Id: I74c8f967e9c951d98a1ab47b8998876ec4e8268d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--jjb/airship/airship.yaml3
-rw-r--r--jjb/airship/cntt.yaml3
2 files changed, 4 insertions, 2 deletions
diff --git a/jjb/airship/airship.yaml b/jjb/airship/airship.yaml
index 3c1a7daff..076715958 100644
--- a/jjb/airship/airship.yaml
+++ b/jjb/airship/airship.yaml
@@ -330,7 +330,7 @@
builders:
- shell: |
set +x
- [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{functest_tag}
elif [ "{port}" = "None" ]; then
@@ -346,6 +346,7 @@
-e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ -v /home/opnfv/functest/.boto:/root/.boto \
$image zip_campaign
- job-template:
diff --git a/jjb/airship/cntt.yaml b/jjb/airship/cntt.yaml
index 2d46a6a08..98d0ae3c3 100644
--- a/jjb/airship/cntt.yaml
+++ b/jjb/airship/cntt.yaml
@@ -357,7 +357,7 @@
builders:
- shell: |
set +x
- [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{functest_tag}
elif [ "{port}" = "None" ]; then
@@ -373,6 +373,7 @@
-e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ -v /home/opnfv/functest/.boto:/root/.boto \
$image zip_campaign
- job-template: