diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-08-10 10:43:39 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-08-10 10:43:39 +0800 |
commit | ac59ab0bb9184049b92923907d5d5d07f9270da0 (patch) | |
tree | 35e303b959ce141a83e1bc89f6c12d6263b64bdd /jjb/daisy4nfv | |
parent | 5159aeef7922689444dfffbf6437c1d81217b6c7 (diff) |
Pass jenkins variables to daisy deploy script
JIRA: DAISY-42
Now the daisy deploy script is executed with sudo. In [1], daisy
deploy job needs to check INSTALLER_IP when it generates the
configuration by the POD Descriptor File. So -E option of sudo
is necessary to pass the jenkins variables.
[1] https://gerrit.opnfv.org/gerrit/#/c/38657/
Change-Id: I852c115d1f0623100afef9979619e4770b5bd1d3
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'jjb/daisy4nfv')
-rwxr-xr-x | jjb/daisy4nfv/daisy-deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/daisy4nfv/daisy-deploy.sh b/jjb/daisy4nfv/daisy-deploy.sh index 785f3a571..0bcac4b02 100755 --- a/jjb/daisy4nfv/daisy-deploy.sh +++ b/jjb/daisy4nfv/daisy-deploy.sh @@ -28,7 +28,7 @@ git clone ssh://jenkins-zte@gerrit.opnfv.org:29418/securedlab --quiet \ # daisy ci/deploy/deploy.sh use $BASE_DIR/labs dir cp -r securedlab/labs . -DEPLOY_COMMAND="sudo ./ci/deploy/deploy.sh -b $BASE_DIR \ +DEPLOY_COMMAND="sudo -E ./ci/deploy/deploy.sh -b $BASE_DIR \ -l $LAB_NAME -p $POD_NAME -B $BRIDGE -s $DEPLOY_SCENARIO" # log info to console |