diff options
author | dkhandel <dkhandel@localhost.localdomain> | 2018-08-03 11:56:14 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-08-06 05:28:46 +0000 |
commit | 5730b82fe0980811c1f25eee126bcf7030f0c3aa (patch) | |
tree | e5a395671383bd5ce27a56738edf1e00ed0555bf /build-gluster-org/scripts/lcov.sh | |
parent | 55b1950a87738bb059d2db8d0ada43248ade5a08 (diff) |
Add the publisher to archive the generated logs
Line coverage job does not provide the generated logs. Added
another publisher parameter i.e. 'archive' to build artifacts of
regression and smoke testing
Change-Id: Idee7dc99ae43d158036ae883f4def418af0f089f
Diffstat (limited to 'build-gluster-org/scripts/lcov.sh')
-rw-r--r-- | build-gluster-org/scripts/lcov.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/lcov.sh b/build-gluster-org/scripts/lcov.sh index 6de3dc1..d8b239b 100644 --- a/build-gluster-org/scripts/lcov.sh +++ b/build-gluster-org/scripts/lcov.sh @@ -37,11 +37,13 @@ lcov -i -c -d . -o coverage/glusterfs-lcov.info set +e echo "Running the regression test" -sudo -E bash /opt/qa/regression.sh -c +sudo -E bash /opt/qa/regression.sh -ci +mv glusterfs-logs.tgz regression-glusterfs-logs.tgz REGRESSION_STATUS=$? echo "Running the smoke tests" sudo -E bash /opt/qa/smoke.sh -c +mv glusterfs-logs.tgz smoke-glusterfs-logs.tgz SMOKE_STATUS=$? echo "Capturing the line coverage in the .info file" |