From c4137626a7d1313fc54000d77483867c83f19459 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Mon, 7 Jul 2014 11:06:37 +0000
Subject: [PATCH] SSDM-559: fixing bug for project deep_sequencing_unit.

SVN: 31902
---
 openbis/build.gradle | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/openbis/build.gradle b/openbis/build.gradle
index e1947397b11..6ed106f8e17 100644
--- a/openbis/build.gradle
+++ b/openbis/build.gradle
@@ -64,9 +64,11 @@ sourceSets {
 }
 
 task cleanDbSuite(type: Test) {
-	useTestNG()
-	options.suites('sourceTest/java/tests_system_cleandb_excluding_authorization.xml')
-	reports.html.destination = file("${project.buildDir}/reports/tests-cleandb")
+    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")
+    }
 }
 
 
-- 
GitLab