jenkins: use osmo-clean-workspace.sh before and after build

Related: osmo-ci.git I2409b2928b4d7ebbd6c005097d4ad7337307dd93
Change-Id: I5ebebfa27e4b0c7b2fb3aa60618a82c1bfdaa19a
Fixes: OS#6546
This commit is contained in:
Vadim Yanitskiy
2024-08-20 20:03:50 +07:00
committed by laforge
parent cd22b9aee3
commit 5e2b93eb55

View File

@@ -16,6 +16,8 @@ if [ ! -d "./pysim-testdata/" ] ; then
exit 1 exit 1
fi fi
osmo-clean-workspace.sh
case "$JOB_TYPE" in case "$JOB_TYPE" in
"test") "test")
virtualenv -p python3 venv --system-site-packages virtualenv -p python3 venv --system-site-packages
@@ -72,3 +74,5 @@ case "$JOB_TYPE" in
echo "ERROR: JOB_TYPE has unexpected value '$JOB_TYPE'." echo "ERROR: JOB_TYPE has unexpected value '$JOB_TYPE'."
exit 1 exit 1
esac esac
osmo-clean-workspace.sh