This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      When there is an exception happening in CliGitAPIImpl#getURLWithCrendentials -method, the error message does not contain the root cause why the connection to git server is failing.

      throw new GitException("Failed to connect to " + u.toString() + (cred != null ? " using credentials " + cred.getDescription() : ""));
      

      To this

      throw new GitException("Failed to connect to " + u.toString() + (cred != null ? " using credentials " + cred.getDescription() : ""), e);
      

      This extra information could help people to figure out why they are having problems on cloning the repository

            Assignee:
            Nicolas De Loof
            Reporter:
            joukojo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: