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:
@@ -16,6 +16,8 @@ if [ ! -d "./pysim-testdata/" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
osmo-clean-workspace.sh
|
||||
|
||||
case "$JOB_TYPE" in
|
||||
"test")
|
||||
virtualenv -p python3 venv --system-site-packages
|
||||
@@ -72,3 +74,5 @@ case "$JOB_TYPE" in
|
||||
echo "ERROR: JOB_TYPE has unexpected value '$JOB_TYPE'."
|
||||
exit 1
|
||||
esac
|
||||
|
||||
osmo-clean-workspace.sh
|
||||
|
||||
Reference in New Issue
Block a user