dovetail: publisher archive added 03/22403/2
authorMatthewLi <matthew.lijun@huawei.com>
Sat, 24 Sep 2016 03:11:25 +0000 (23:11 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Sat, 24 Sep 2016 03:45:49 +0000 (23:45 -0400)
JIRA: DOVETAIL-14

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

index 91362ef..9d2f69d 100644 (file)
         - 'dovetail-cleanup'
         - 'dovetail-{testsuite}'
 
+    publishers:
+        - archive:
+            artifacts: 'results/**/*'
+            allow-empty: true
+            fingerprint: true
+
 ########################
 # builder macros
 ########################
index 5653d3e..6453425 100755 (executable)
@@ -42,7 +42,11 @@ echo "Dovetail: Pulling image opnfv/dovetail:${DOCKER_TAG}"
 docker pull opnfv/dovetail:$DOCKER_TAG >$redirect
 
 # Run docker
+echo "Dovetail: docker running..."
 sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/dovetail:${DOCKER_TAG} \
 "/home/opnfv/dovetail/scripts/run.py"
 
+echo "Dovetail: store results..."
+sudo cp -r /home/opnfv/dovetail/results ./
+
 echo "Dovetail: done!"