From 5730b82fe0980811c1f25eee126bcf7030f0c3aa Mon Sep 17 00:00:00 2001 From: dkhandel Date: Fri, 3 Aug 2018 11:56:14 +0530 Subject: 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 --- build-gluster-org/scripts/lcov.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build-gluster-org/scripts') 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" -- cgit