summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2019-12-23 19:46:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-12-23 19:46:03 +0000
commitf9ab3a6eb8aa3e45f71d55791912509fd79a83e7 (patch)
treeaa29fcddd627891b620dba77d0926d397de5883d
parentfecd485d74b3164902782ace05c301694128ddf8 (diff)
parentb21926405bb1987b0665eef8139a0951d4426d36 (diff)
Merge "Mount .boto when dumping all logs"
-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: