From 0b4d1cc2c3acd59f4e2d50785a442f13ed070e70 Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Fri, 23 Sep 2016 23:11:25 -0400 Subject: dovetail: publisher archive added JIRA: DOVETAIL-14 Change-Id: I51a995a311decbec0d4eb5ba576b8405db99e68b Signed-off-by: MatthewLi --- jjb/dovetail/dovetail-ci-jobs.yml | 6 ++++++ jjb/dovetail/dovetail-run.sh | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/jjb/dovetail/dovetail-ci-jobs.yml b/jjb/dovetail/dovetail-ci-jobs.yml index 91362ef3a..9d2f69da9 100644 --- a/jjb/dovetail/dovetail-ci-jobs.yml +++ b/jjb/dovetail/dovetail-ci-jobs.yml @@ -149,6 +149,12 @@ - 'dovetail-cleanup' - 'dovetail-{testsuite}' + publishers: + - archive: + artifacts: 'results/**/*' + allow-empty: true + fingerprint: true + ######################## # builder macros ######################## diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh index 5653d3e9e..6453425ce 100755 --- a/jjb/dovetail/dovetail-run.sh +++ b/jjb/dovetail/dovetail-run.sh @@ -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!" -- cgit 1.2.3-korg