diff options
author | Jason Tedor <jason@tedor.me> | 2017-06-09 22:06:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 22:06:51 -0400 |
commit | a7a3af6f4878e8bd4d1eca0b98f85d29b07aea4a (patch) | |
tree | ee4ca5f31d59af59feb0b77d578b888247a5ff1b /distribution | |
parent | 3405badfb169845f6ea4c181b0a5492c7920e9cb (diff) |
Log checkout so SHA is known
This commit changes the task type of the checkoutBwcBranch task to Exec
from LoggedExec so that the output of the checkout command is
shown. This enables us to see the SHA used for the checkout which can be
useful when debugging a BWC break.
Relates #25166
Diffstat (limited to 'distribution')
-rw-r--r-- | distribution/bwc/build.gradle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distribution/bwc/build.gradle b/distribution/bwc/build.gradle index 4ceefc9aa0..1c833a104c 100644 --- a/distribution/bwc/build.gradle +++ b/distribution/bwc/build.gradle @@ -101,7 +101,8 @@ if (enabled) { commandLine = ['git', 'fetch', 'upstream'] } - task checkoutBwcBranch(type: LoggedExec) { + // this is an Exec task so that the SHA that is checked out is logged + task checkoutBwcBranch(type: Exec) { dependsOn fetchLatest workingDir = checkoutDir commandLine = ['git', 'checkout', "upstream/${bwcBranch}"] |