From: MatthewLi Date: Tue, 20 Dec 2016 10:17:39 +0000 (-0500) Subject: dovetail: tox supported in verify job X-Git-Tag: danube.1.0~524^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=79170e985ba9cdc63010c22a362b08db83d3e3be;p=releng.git dovetail: tox supported in verify job JIRA: DOVETAIL-165 1) tox supported 2) hello world builder added for backup usage when problem occurs Change-Id: Idb1099098f788ebf2c1888f9b413e81411dc1a40 Signed-off-by: MatthewLi --- diff --git a/jjb/dovetail/dovetail-project-jobs.yml b/jjb/dovetail/dovetail-project-jobs.yml index 826684919..904841396 100644 --- a/jjb/dovetail/dovetail-project-jobs.yml +++ b/jjb/dovetail/dovetail-project-jobs.yml @@ -93,25 +93,21 @@ #builders for dovetail project ############################### - builder: - name: dovetail-unit-tests + name: dovetail-hello-world builders: - shell: | #!/bin/bash set -o errexit - set -o pipefail - echo "Running unit tests..." - cd $WORKSPACE - virtualenv $WORKSPACE/dovetail_venv - source $WORKSPACE/dovetail_venv/bin/activate + echo "hello world" - #packages installation - easy_install -U setuptools - easy_install -U pip - pip install -r unittests/requirements.txt - pip install -e . - #unit tests - /bin/bash $WORKSPACE/unittests/unittest.sh +- builder: + name: dovetail-unit-tests + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o pipefail - deactivate + tox