From 521a4e4d610485cbd25d6ebf9dfefc2ad2cb21a0 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 7 Jan 2020 10:57:39 +0000 Subject: [PATCH] JAL-3477 Added appbase override option at buildtime for testing in general, but specifically on cluster --- build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 87a5c69..1e26bee 100644 --- a/build.gradle +++ b/build.gradle @@ -208,11 +208,16 @@ ext { break default: // something wrong specified - print("CHANNEL must be one of BUILD, RELEASE, ARCHIVE, DEVELOP, TEST-RELEASE, SCRATCH-..., LOCAL [default]") + println("CHANNEL must be one of BUILD, RELEASE, ARCHIVE, DEVELOP, TEST-RELEASE, SCRATCH-..., LOCAL [default]") exit break } + // override getdown_app_base if requested + if (getProperty("getdown_appbase_override") != null) { + getdown_app_base = string(getProperty("getdown_appbase_override")) + println("Overriding getdown appbase with '${getdown_app_base}'") + } getdownAppDir = string("${getdownWebsiteDir}/${getdown_app_dir}") //getdownJ11libDir = "${getdownWebsiteDir}/${getdown_j11lib_dir}" -- 1.7.10.2