diff --git a/openbis/build.gradle b/openbis/build.gradle
index 6ed106f8e179f3f8f57fcb425fde97a30dc22d85..cc89c152416d875fc9a41d6c4810c11ef6942b5d 100644
--- a/openbis/build.gradle
+++ b/openbis/build.gradle
@@ -66,9 +66,7 @@ sourceSets {
 task cleanDbSuite(type: Test) {
     useTestNG()
     options.suites('sourceTest/java/tests_system_cleandb_excluding_authorization.xml')
-    if (delegate.getProperties().get('reports') != null) {
-        reports.html.destination = file("${project.buildDir}/reports/tests-cleandb")
-    }
+    reports.html.destination = file("${project.buildDir}/reports/tests-cleandb")
 }