Prevent TimeoutException for remote.<name>.timeout = 0

According to the plugins' documentation the timeout of zero means wait
indefinitely. However, the Future.get(timeout, unit) method handles zero
timeout as zero. Use Future.get() in that case.

Change-Id: I64d6f9cf7239a51a1f8c75bda0525729d63a28ca
2 files changed
tree: ca90ca7e9e15e6f43a319d7a113a38d0ac777d22
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. external_plugin_deps.bzl
  6. Jenkinsfile
  7. LICENSE