summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-12-20 05:17:39 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-12-20 22:29:57 -0500
commit79170e985ba9cdc63010c22a362b08db83d3e3be (patch)
treead4297974286d19c8872ad1183c060d8dbd668c1
parentaf30c08dbbb593b7430473a3d836b2768f7fd899 (diff)
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 <matthew.lijun@huawei.com>
-rw-r--r--jjb/dovetail/dovetail-project-jobs.yml24
1 files changed, 10 insertions, 14 deletions
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