dovetail: tox supported in verify job 97/26297/3
authorMatthewLi <matthew.lijun@huawei.com>
Tue, 20 Dec 2016 10:17:39 +0000 (05:17 -0500)
committerMatthewLi <matthew.lijun@huawei.com>
Wed, 21 Dec 2016 03:29:57 +0000 (22:29 -0500)
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>
jjb/dovetail/dovetail-project-jobs.yml

index 8266849..9048413 100644 (file)
 #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