summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-03-29 18:06:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-29 18:06:01 +0000
commita2ffc4d1f172b81ec1bdf4ba7e8b00a199b97660 (patch)
tree0b3ea3467079b851f9bc6dadbc6dce376a460e5b /jjb/functest
parenta8e45a0415963d8936d86df1c635f7ebec4aa5e0 (diff)
parent5f3ff20c66449604aaf89a1e7e441d67277a4840 (diff)
Merge "bugfix: missing mcp ssh_key mapping"
Diffstat (limited to 'jjb/functest')
-rwxr-xr-xjjb/functest/functest-env-presetup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/functest/functest-env-presetup.sh b/jjb/functest/functest-env-presetup.sh
index b7d33e760..4738121de 100755
--- a/jjb/functest/functest-env-presetup.sh
+++ b/jjb/functest/functest-env-presetup.sh
@@ -45,5 +45,11 @@ elif [[ ${INSTALLER_TYPE} == 'daisy' ]]; then
echo "No available installer VM exists...exiting"
exit 1
fi
+
+elif [[ ${INSTALLER_TYPE} == 'fuel' ]]; then
+ if [[ ! "${BRANCH}" =~ "danube" ]]; then
+ echo "Map mcp ssh_key"
+ export sshkey_vol="-v ${SSH_KEY}:/root/.ssh/id_rsa"
+ fi
fi