diff options
author | dkhandel <dkhandel@localhost.localdomain> | 2018-07-09 10:57:40 +0530 |
---|---|---|
committer | dkhandel <dkhandel@localhost.localdomain> | 2018-07-09 10:57:40 +0530 |
commit | c225ce89bb9739acbfcf52c3940f4390d84999be (patch) | |
tree | d314e9feb891d81586f1ac8d35f4180e140a875d /build-gluster-org | |
parent | 0c5e7425d88bc3fb57cfdabe2c8151f5d6e65ed3 (diff) |
Remove all the logs and files generated from previous jobs in /tmp
Change-Id: I229988760ddca8e98984cfa62c483866937a7dee
Signed-off-by: Deepshikha Khandelwal <dkhandel@redhat.com>
Diffstat (limited to 'build-gluster-org')
-rwxr-xr-x | build-gluster-org/scripts/distributed-regression.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/distributed-regression.sh b/build-gluster-org/scripts/distributed-regression.sh index ea86423..7986c29 100755 --- a/build-gluster-org/scripts/distributed-regression.sh +++ b/build-gluster-org/scripts/distributed-regression.sh @@ -2,6 +2,9 @@ MAX_ATTEMPTS=3 +# cleaning the previous logs +sudo rm -rf /tmp/failed-tests /tmp/*log /tmp/*patch.tar.gz >/dev/null 2>&1 + # create and activate virtual env virtualenv env . env/bin/activate |