Applying the following patch over v1.7.0 seems to solve it:

diff --git i/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java w/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
index 82598d2..8526e4c 100644
--- i/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
+++ w/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
@@ -152,7 +152,7 @@ public class CliGitAPIImpl extends LegacyCompatibleGitAPIImpl {
         this.gitExe = gitExe;
         this.environment = environment;

-        launcher = new LocalLauncher(IGitAPI.verbose?listener:TaskListener.NULL);
+        launcher = new LocalLauncher(listener);
     }

     public GitClient subGit(String subdir) {
@@ -1855,7 +1855,7 @@ public class CliGitAPIImpl extends LegacyCompatibleGitAPIImpl {
                 }
             }
             if(shouldProxy) {
-                final HttpHost proxyHost = new HttpHost(proxy.name, proxy.port);
+                final HttpHost proxyHost = new HttpHost(proxy.name, proxy.port);
                 final HttpRoutePlanner routePlanner = new DefaultProxyRoutePlanner(proxyHost);
                 clientBuilder.setRoutePlanner(routePlanner);
                 if (proxy.getUserName() != null && proxy.getPassword() != null)
@@ -1896,7 +1896,7 @@ public class CliGitAPIImpl extends LegacyCompatibleGitAPIImpl {
         try {
             for (String candidate : candidates) {
                 HttpGet get = new HttpGet(candidate);
-
+
                 final CloseableHttpResponse response = client.execute(get);
                 try{
                     status = response.getStatusLine().getStatusCode();

Although we've been running this build only for a day now.
I'll report back if it still happens

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to