summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2021-08-16 12:20:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2021-08-16 12:20:12 +0000
commiteb8bcf335ac1f3629017b2cd21e19fb636b22630 (patch)
treef6317ac23b2566078c1368c831f0729df274f7c6 /jjb/functest
parenta6b65e43912afc64fb6236f532ee20f5dcf3f6e4 (diff)
parentbf336ebc09db7ed012c4b2d15c9f0f175d5e086a (diff)
Merge "Fix env regexes"
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index b84003fdc..eae21890a 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -122,13 +122,14 @@
- shell: |
set +x
volumes=;
+ echo "{volumes}"
if [ "{volumes}" != "None" ]; then
- for i in $(echo {volumes} | tr -d '[] ' |sed "s/,/ /g" ); do volumes="-v $i $volumes"; done
+ for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); do volumes="-v $i $volumes"; done
fi
env=;
echo "{env}"
if [ "{env}" != "None" ]; then
- for i in $(eval echo {env} | tr -d '[] ' |sed "s/,/ /g" ); do env="-e $i $env"; done
+ for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); do env="-e $i $env"; done
fi
[ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
if [ "{repo}" = "_" ]; then