summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts
diff options
context:
space:
mode:
authordkhandel <dkhandel@localhost.localdomain>2018-08-03 11:56:14 +0530
committerNigel Babu <nigelb@redhat.com>2018-08-06 05:28:46 +0000
commit5730b82fe0980811c1f25eee126bcf7030f0c3aa (patch)
treee5a395671383bd5ce27a56738edf1e00ed0555bf /build-gluster-org/scripts
parent55b1950a87738bb059d2db8d0ada43248ade5a08 (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')
-rw-r--r--build-gluster-org/scripts/lcov.sh4
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"