summaryrefslogtreecommitdiffstats
path: root/jjb/daisy4nfv
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-02-22 23:22:05 +0800
committerAric Gardner <agardner@linuxfoundation.org>2017-02-23 21:38:45 +0000
commitc752c85d1b5c6360e1195817784a740c1ca9d245 (patch)
tree9c359a6f602f0a81601829fdd94bf8af05369cca /jjb/daisy4nfv
parent603db413bb575c94061f8290b4a4de129ab3fdab (diff)
Use jenkins-zte user, uncomment daisy deploy and cp labs dir
Change-Id: Ia031b39a8335e223aee27db9cff334af285632ab Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'jjb/daisy4nfv')
-rwxr-xr-xjjb/daisy4nfv/daisy-deploy.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/daisy4nfv/daisy-deploy.sh b/jjb/daisy4nfv/daisy-deploy.sh
index b303c2c05..b512e3f60 100755
--- a/jjb/daisy4nfv/daisy-deploy.sh
+++ b/jjb/daisy4nfv/daisy-deploy.sh
@@ -22,9 +22,12 @@ cd $WORKSPACE
BASE_DIR=$(cd ./;pwd)
echo "Cloning securedlab repo $BRANCH"
-git clone ssh://jenkins-ericsson@gerrit.opnfv.org:29418/securedlab --quiet \
+git clone ssh://jenkins-zte@gerrit.opnfv.org:29418/securedlab --quiet \
--branch $BRANCH
+# daisy ci/deploy/deploy.sh use $BASE_DIR/labs dir
+cp -r securedlab/labs .
+
DEPLOY_COMMAND="sudo ./ci/deploy/deploy.sh -b $BASE_DIR \
-l $LAB_NAME -p $POD_NAME -B $BRIDGE"
@@ -45,7 +48,7 @@ $DEPLOY_COMMAND
"""
# start the deployment
-#$DEPLOY_COMMAND
+$DEPLOY_COMMAND
if [ $? -ne 0 ]; then
echo