diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-04-04 07:07:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-04 07:07:13 +0000 |
commit | 7adc859a96ecbfce421bd4367e98e00f33069d04 (patch) | |
tree | d0b9d84a532ebbb5ad2f58a7f9239ecc225b2003 /jjb | |
parent | f1751183fe77d358008ecb0f986fefd9f545b4ad (diff) | |
parent | 6e39235acdfbc641b431b2d8c967365325be661d (diff) |
Merge "[daisy] Support doctor in daisy master branch"
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/daisy4nfv/daisy-deploy.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/jjb/daisy4nfv/daisy-deploy.sh b/jjb/daisy4nfv/daisy-deploy.sh index f729c380e..ea57ab1b4 100755 --- a/jjb/daisy4nfv/daisy-deploy.sh +++ b/jjb/daisy4nfv/daisy-deploy.sh @@ -27,6 +27,12 @@ else CONFIG_REPO_NAME=pharos fi +if [[ "$BRANCH" =~ "master" ]]; then + DOCTOR_OPT="-d 1" +else + DOCTOR_OPT="" +fi + LABS_DIR=/var/tmp/opnfv-${CONFIG_REPO_NAME} echo "Cloning ${CONFIG_REPO_NAME} repo $BRANCH to $LABS_DIR" @@ -35,7 +41,8 @@ git clone ssh://jenkins-zte@gerrit.opnfv.org:29418/${CONFIG_REPO_NAME} \ --quiet --branch $BRANCH $LABS_DIR DEPLOY_COMMAND="sudo -E ./ci/deploy/deploy.sh -L $LABS_DIR \ - -l $LAB_NAME -p $POD_NAME -B $BRIDGE -s $DEPLOY_SCENARIO" + -l $LAB_NAME -p $POD_NAME -B $BRIDGE -s $DEPLOY_SCENARIO \ + $DOCTOR_OPT" # log info to console echo """ |