-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins ver. 1.609.2
Job DSL 1.37
GitClient.getRemoteReferences javadoc says that it should return empty map if no references were found.
Instead of that it throws the following exception:
hudson.plugins.git.GitException: unexpected ls-remote output
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:2391)
my method invocation looks like that:
gitClient.getRemoteReferences(gitUrl, "*", false, true)