summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-08-16 14:13:44 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-08-16 14:13:44 +0200
commitbf336ebc09db7ed012c4b2d15c9f0f175d5e086a (patch)
tree7af4d815778d2ec3b845ada89feec835a90aee89 /jjb
parent35163698b65f78e532b373c03e6b1871addf5d1e (diff)
Fix env regexes
Change-Id: Ie124ea3fb1d0643c6ca26950f3e703f740330ac0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb')
-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