Cleanup logs

Currently log artefacts are not cleaned up using clean.sh script,
which entails including logs from previous builds on upstream jenkins.

Change-Id: I2a02c8951cdf712d90be359e700c253b4713bc8f
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
Ruslan Aliev 2021-07-16 13:27:17 -05:00
parent 0c36a47ee3
commit 428887f6dc

View File

@ -14,7 +14,7 @@
set -x set -x
sudo rm -rf ~/.airship/ ~/.ansible.cfg /srv/images/* /tmp/airship/ sudo rm -rf ~/.airship/ ~/.ansible.cfg /srv/images/* /tmp/airship* /tmp/logs
sudo service sushy-tools stop sudo service sushy-tools stop
sudo service apache2 stop sudo service apache2 stop
sudo kill -9 $(lsof -t -i:8000 -i:8099) sudo kill -9 $(lsof -t -i:8000 -i:8099)