Repository: bigtop
Updated Branches:
  refs/heads/master 999e73499 -> a9c37bdc6


BIGTOP-2878 : Download task does not work for git repositories

Signed-off-by: Konstantin Boudnik <[email protected]>

Closes #282


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/a9c37bdc
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/a9c37bdc
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/a9c37bdc

Branch: refs/heads/master
Commit: a9c37bdc6a732bdc2f36981073214a321c42dccf
Parents: 999e734
Author: zenmyo <[email protected]>
Authored: Tue Sep 5 16:25:47 2017 +0900
Committer: Konstantin Boudnik <[email protected]>
Committed: Thu Sep 7 16:13:27 2017 -0700

----------------------------------------------------------------------
 packages.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/a9c37bdc/packages.gradle
----------------------------------------------------------------------
diff --git a/packages.gradle b/packages.gradle
index d1a3d18..966afea 100644
--- a/packages.gradle
+++ b/packages.gradle
@@ -185,7 +185,7 @@ def genTasks = { target ->
     def final GIT_USER_NAME = config.bigtop.components[target].git.user ?: 
config.bigtop.git.user
     def final GIT_ACCESS_TOKEN = config.bigtop.components[target].git.token ?: 
config.bigtop.git.token
 
-    if (!DOWNLOAD_URL)
+    if (!DOWNLOAD_URL && !(GIT_REPO && GIT_REF))
       return
 
     mkdir(DL_DIR)

Reply via email to