Cleanup Operations API and UI folders
These folders can contain some data owned by root
b/c we run tests as root user in container.
Change-Id: Icb571331e7c8d2bc727429e17145c0e4d57dd002
Related-task: #PROD-25063 (PROD:25063)
diff --git a/test-model-generator.groovy b/test-model-generator.groovy
index ce551d7..1daa9ec 100644
--- a/test-model-generator.groovy
+++ b/test-model-generator.groovy
@@ -189,7 +189,7 @@
}
// Remove everything what is owned by root
testImage.inside(testImageOptions) {
- sh("rm -rf /var/lib/qa_reports/* ${env.WORKSPACE}/${apiProject}/cockroach_data")
+ sh("rm -rf /var/lib/qa_reports/* ${env.WORKSPACE}/${apiProject} ${env.WORKSPACE}/${uiProject}")
}
}
}