diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-09-23 23:11:25 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-09-23 23:45:49 -0400 |
commit | 0b4d1cc2c3acd59f4e2d50785a442f13ed070e70 (patch) | |
tree | 3c0a1aca8a701eb46e384ab250d02ce137f404ee /jjb/dovetail | |
parent | 1a6aacda3ef8dfccc770b6ada3e73caac0582c47 (diff) |
dovetail: publisher archive added
JIRA: DOVETAIL-14
Change-Id: I51a995a311decbec0d4eb5ba576b8405db99e68b
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/dovetail')
-rw-r--r-- | jjb/dovetail/dovetail-ci-jobs.yml | 6 | ||||
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 4 |
2 files changed, 10 insertions, 0 deletions
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!" |