-
Bug
-
Resolution: Fixed
-
Major
-
None
An user reported the following error in the IRC, where he fails to fetch from origin. As you can see, the Git plugin is not reporting the output from Git (nor the exit code), which makes trobule-shooting unnecessarily hard.
In case of a failure, it should report the output and exit code.
Checkout:workspace / /Users/administrator/Documents/Jenkins/jobs/FLOW3 raise submodules in Base distribution/workspace - hudson.remoting.LocalChannel@35b5a4ca Using strategy: Default Last Built Revision: Revision e94111b7f46946051dda9ff1ca30e2c0299e025c (origin/master) Checkout:workspace / /Users/administrator/Documents/Jenkins/jobs/FLOW3 raise submodules in Base distribution/workspace - hudson.remoting.LocalChannel@35b5a4ca Fetching changes from the remote Git repository Fetching upstream changes from ssh://review.typo3.org/FLOW3/Distributions/Base ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway ERROR: Could not fetch from any repository FATAL: Could not fetch from any repository hudson.plugins.git.GitException: Could not fetch from any repository at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:852) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:812) at hudson.model.AbstractProject.checkout(AbstractProject.java:1182) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)
- is related to
-
JENKINS-24304 Enable/Disable verbose Git command logging in Jenkins build log
-
- Open
-
I would like this second this, for the increased error output and if this a "fetch" bug or related.
I'm running Hudson ver. 1.380 and Git Plugin 1.1.6 and getting this same "ERROR: Could not fetch from any repository" when trying to fetch from a Github private repository. Logging in, switching to the hudson user and doing a `git fetch` from the repository succeeds, which makes me rule out an SSH/key issue.