From 798066a96dde8e69ac6bdeb83ec18b0af5d67e04 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Wed, 8 Nov 2017 15:27:15 -0500 Subject: [PATCH] Fix find remote when building BWC We look for the remote by scanning the output of "git remote -v" but we were not actually looking at the output since standard output was not redirected anywhere. This commit fixes this issue. Relates #27308 --- distribution/bwc/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distribution/bwc/build.gradle b/distribution/bwc/build.gradle index 245d719709b77..f4cc2628df9e0 100644 --- a/distribution/bwc/build.gradle +++ b/distribution/bwc/build.gradle @@ -74,6 +74,8 @@ if (enabled) { dependsOn createClone workingDir = checkoutDir commandLine = ['git', 'remote', '-v'] + ByteArrayOutputStream output = new ByteArrayOutputStream() + standardOutput = output doLast { project.ext.remoteExists = false output.toString('UTF-8').eachLine {