summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-08 17:34:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-08 17:34:34 +0000
commitc897c28c442e9f32e760d6d575df109b448b2313 (patch)
treeb10c2e9d3e24a1ccae54e29798bdb8da01d54ef5
parenta6241f704f8f8563d7e8fa398f1241fac7031b62 (diff)
parent71ceac84eba513860a351163c6156ea025be06d0 (diff)
Merge "fuel-deploy.sh: Preserve env vars in sudo call"
-rwxr-xr-xjjb/fuel/fuel-deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-deploy.sh b/jjb/fuel/fuel-deploy.sh
index 18b2fd730..129f7532c 100755
--- a/jjb/fuel/fuel-deploy.sh
+++ b/jjb/fuel/fuel-deploy.sh
@@ -43,7 +43,7 @@ POD_NAME=${NODE_NAME/*-}
LAB_CONFIG_URL=${LAB_CONFIG_URL:-'ssh://jenkins-ericsson@gerrit.opnfv.org:29418/securedlab'}
# Fuel requires deploy script to be ran with sudo, Armband does not
-SUDO=sudo
+SUDO=sudo -E
if [ "${PROJECT}" = 'fuel' ]; then
# Fuel does not use any POD-specific configuration for virtual deploys
if [[ "${NODE_NAME}" =~ "virtual" ]]; then