You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2018/12/11 18:39:13 UTC

[GitHub] nabarunnag closed pull request #23: GEODE-6180: Create unique results folder.

nabarunnag closed pull request #23: GEODE-6180: Create unique results folder.
URL: https://github.com/apache/geode-benchmarks/pull/23
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/geode-benchmarks/build.gradle b/geode-benchmarks/build.gradle
index ee0fa09..d6469c6 100644
--- a/geode-benchmarks/build.gradle
+++ b/geode-benchmarks/build.gradle
@@ -24,9 +24,14 @@ version '1.0-SNAPSHOT'
 
 sourceCompatibility = 1.8
 
-def outputDir = project.hasProperty('outputDir') ? project.findProperty('outputDir') : new File(project.buildDir, "benchmarks").getAbsolutePath()
+def outputDir = project.hasProperty('outputDir') ? project.findProperty('outputDir') : new File(project.buildDir, "benchmarks_" + getDate()).getAbsolutePath()
 def geodeVersion = project.hasProperty('geodeVersion') ? project.findProperty('geodeVersion') : '1.+'
 
+def getDate() {
+    new Date().format('yyyyMMddHHmmss')
+}
+
+
 repositories {
     mavenCentral()
 }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services