summaryrefslogtreecommitdiffstats
path: root/jjb/armband
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-07-17 21:35:20 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-07-17 21:35:20 +0200
commit67d8bac7b2a97531ad465f275747b3dc455d4fe4 (patch)
treef30e1b5173f8fb762b5a797bd48b2309d84c64b9 /jjb/armband
parent8f0e845255585fde306a46be8011c6bf06bd2137 (diff)
armband-deploy.sh: Inherit env vars for sudo
Previous commit adding sudo for ci/deploy.sh call breaks Armband deploys, since ci/deploy.sh relies on $WORKSPACE env var being set. Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/armband')
-rwxr-xr-xjjb/armband/armband-deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/armband/armband-deploy.sh b/jjb/armband/armband-deploy.sh
index 29c04fd3d..b11500434 100755
--- a/jjb/armband/armband-deploy.sh
+++ b/jjb/armband/armband-deploy.sh
@@ -93,7 +93,7 @@ else
fi
# construct the command
-DEPLOY_COMMAND="sudo $WORKSPACE/ci/deploy.sh -b ${LAB_CONFIG_URL} \
+DEPLOY_COMMAND="sudo -E $WORKSPACE/ci/deploy.sh -b ${LAB_CONFIG_URL} \
-l $LAB_NAME -p $POD_NAME -s $DEPLOY_SCENARIO -i file://${ISO_FILE} \
-H -B ${DEFAULT_BRIDGE:-pxebr} -S $TMPDIR -L $WORKSPACE/$FUEL_LOG_FILENAME \
${DEPLOY_CACHE}"