dovetail: separate dovetail jenkins job 55/26855/3
authorMatthewLi <matthew.lijun@huawei.com>
Wed, 11 Jan 2017 09:46:32 +0000 (04:46 -0500)
committerMatthewLi <matthew.lijun@huawei.com>
Sat, 14 Jan 2017 02:14:57 +0000 (21:14 -0500)
JIRA: DOVETAIL-177

Change-Id: Iaa21373ae7f5bbc777872ea9b6ac9479b1dcff08
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
jjb/dovetail/dovetail-ci-jobs.yml
jjb/dovetail/dovetail-run.sh

index 2b6ab76..08eb5a5 100644 (file)
         - shell:
             !include-raw: ./dovetail-run.sh
 
-
-- builder:
-    name: dovetail-fetch-os-creds
-    builders:
-        - shell:
-            !include-raw: ../../utils/fetch_os_creds.sh
-
 - builder:
     name: dovetail-cleanup
     builders:
index 4cc03f7..0a2f156 100755 (executable)
@@ -66,9 +66,12 @@ if [ $(docker ps | grep "opnfv/dovetail:${DOCKER_TAG}" | wc -l) == 0 ]; then
     exit 1
 fi
 
-exec_cmd="python ${DOVETAIL_REPO_DIR}/dovetail/run.py --testsuite ${TESTSUITE} -d true"
-echo "Container exec command: ${exec_cmd}"
-docker exec ${container_id} ${exec_cmd}
+list_cmd="dovetail list ${TESTSUITE}"
+run_cmd="dovetail run --testsuite ${TESTSUITE} -d true"
+echo "Container exec command: ${list_cmd}"
+docker exec $container_id ${list_cmd}
+echo "Container exec command: ${run_cmd}"
+docker exec $container_id ${run_cmd}
 
 sudo cp -r ${DOVETAIL_REPO_DIR}/results ./
 #To make sure the file owner is jenkins, for the copied results files in the above line