From cbe3739fbbbf50ec74dcde145e86087698d5e2a9 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 5 Sep 2016 18:34:32 +0200 Subject: armband: Fix file handler in lab-config test -e Previous change adding lab-config/.../local_env support introduced an issue, in the form of `test -e file:///path/to/local_env`, which is not supported. Change-Id: I1566b41765329f18523cfc506c9112b6694a8317 Signed-off-by: Alexandru Avadanii --- jjb/armband/armband-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/armband') diff --git a/jjb/armband/armband-deploy.sh b/jjb/armband/armband-deploy.sh index d7626509c..fb4c1ead5 100755 --- a/jjb/armband/armband-deploy.sh +++ b/jjb/armband/armband-deploy.sh @@ -52,7 +52,7 @@ if [[ $LAB_CONFIG_URL =~ ^(git|ssh):// ]]; then LAB_CONFIG_URL=file://${WORKSPACE}/lab-config # Source local_env if present, which contains POD-specific config - local_env="$LAB_CONFIG_URL/labs/$LAB_NAME/$POD_NAME/fuel/config/local_env" + local_env="${WORKSPACE}/lab-config/labs/$LAB_NAME/$POD_NAME/fuel/config/local_env" if [ -e $local_env ]; then echo "-- Sourcing local environment file" source $local_env -- cgit 1.2.3-korg