[JIRA] [git-plugin] (JENKINS-30276) Jenkins GIT Plugin fails on initial clone

2015-09-08 Thread oliver.heppe...@pixell.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oliver Hepperle commented on  JENKINS-30276 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins GIT Plugin fails on initial clone  
 
 
 
 
 
 
 
 
 
 
ok, after some investigations: it seems that this problem is caused by the "Multi-Branch Project Plugin". Like you said "git" and "git plugin" are not causing any problems. 
How to duplicate this bug: 
1. Add new build item 2. select "Freestyle multi-branch project" 3. insert git project uri (https) and credentials 4. click on save and build. It will fail directly before workspace is created. You can see the exceptions in jenkins polling log. 
regards 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.


[JIRA] [git-plugin] (JENKINS-30276) Jenkins GIT Plugin fails on initial clone

2015-09-04 Thread oliver.heppe...@pixell.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oliver Hepperle commented on  JENKINS-30276 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins GIT Plugin fails on initial clone  
 
 
 
 
 
 
 
 
 
 
Hello Mark Waite, 
Thank you for your fast answer, but i still think this is a bug in the plugin. 
_Mark Waite wrote: As a work around, you might try to open the workspace (from Jenkins) and wipe the workspace, then perform a "Build now" to populate the workspace again._ 
There is no option for wiping the workspace. If i look on the server in C:\Jenkins\jobs\xxx\ there is a template folder, config.xml and a sync-branches.log file. The stacktrace was from the sync-branches.log file. I already tried to create a new project, but it also fails on first checkout. 
Mark Waite wrote: As another possible work around, you might try to edit the contents of the .git/config file in the workspace directory to see if you can deduce... 
In the workspace of this project there is no .git folder. I looked into older projects and there is one. So i think the git plugin crashed before the folder was created. 
If i execute the command git clone xxx on the machine it works normally. 
regards 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.


[JIRA] [git-plugin] (JENKINS-30276) Jenkins GIT Plugin fails on initial clone

2015-09-04 Thread oliver.heppe...@pixell.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oliver Hepperle edited a comment on  JENKINS-30276 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins GIT Plugin fails on initial clone  
 
 
 
 
 
 
 
 
 
 Hello Mark Waite,Thank you for your fast answer, but i still think this is a bug in the plugin._Mark Waite wrote:  As a work around, you might try to open the workspace (from Jenkins) and wipe the workspace, then perform a "Build now" to populate the workspace again._There is no option for wiping the workspace. If i look on the server in C:\Jenkins\jobs\xxx\ there is a template folder, config.xml and a sync-branches.log file. The stacktrace was from the sync-branches.log file. I already tried to create a new project, but it also fails on first checkout._Mark Waite wrote: As another possible work around, you might try to edit the contents of the .git/config file in the workspace directory to see if you can deduce..._In the workspace of this project there is no .git folder. I looked into older projects and there is one. So i think the git plugin crashed before the folder was created.If i execute the command git clone xxx on the machine it works normally.regards 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.


[JIRA] [git-plugin] (JENKINS-30276) Jenkins GIT Plugin fails on initial clone

2015-09-03 Thread oliver.heppe...@pixell.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oliver Hepperle updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30276 
 
 
 
  Jenkins GIT Plugin fails on initial clone  
 
 
 
 
 
 
 
 
 

Change By:
 
 Oliver Hepperle 
 
 
 
 
 
 
 
 
 
 Hi all,after creating a new project today and tried to run first time i noticed that the initial checkout isn't working anymore. Older projects which were already built are working correctly.Does anybody have an advice why the initial git clone command isn't working anymore?Here is the stacktrace from jenkins server:Started on Sep 3, 2015 11:06:22 AMCreating git repository in C:\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132fFATAL: Unknown repository formatorg.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:118) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.doInit(JGitAPIImpl.java:216) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.access$600(JGitAPIImpl.java:133) at org.jenkinsci.plugins.gitclient.JGitAPIImpl$7.execute(JGitAPIImpl.java:1556) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.init(JGitAPIImpl.java:211) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:164) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:141) at jenkins.scm.api.SCMSource.retrieve(SCMSource.java:180) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:167) at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject._syncBranches(AbstractMultiBranchProject.java:981) at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.syncBranches(AbstractMultiBranchProject.java:948) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.run(SyncBranchesTrigger.java:102) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger.checkTriggers(SyncBranchesTrigger.java:255) at com.github.mjdetullio.jenkins.plugins.multibranch.SyncBranchesTrigger$Cron.doRun(SyncBranchesTrigger.java:230) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Caused by: java.io.IOException: Unknown repository format at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:249) at org.eclipse.jgit.internal.storage.file.FileRepository.(FileRepository.java:192) at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113) ... 21 moreCaused by: org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file  D  C :\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132f\.git\config at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:173) at org.eclipse.jgit.internal.storage.file.FileRepository.loadRepoConfig(FileRepository.java:247) ... 24 moreCaused by: 

[JIRA] [git-plugin] (JENKINS-30276) Jenkins GIT Plugin fails on initial clone

2015-09-03 Thread oliver.heppe...@pixell.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oliver Hepperle created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30276 
 
 
 
  Jenkins GIT Plugin fails on initial clone  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Nicolas De Loof 
 
 
 

Components:
 

 git-plugin 
 
 
 

Created:
 

 03/Sep/15 9:18 AM 
 
 
 

Environment:
 

 Windows Server 2008; git version 2.5.1.windows.1 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Oliver Hepperle 
 
 
 
 
 
 
 
 
 
 
Hi all, 
after creating a new project today and tried to run first time i noticed that the initial checkout isn't working anymore. Older projects which were already built are working correctly. Does anybody have an advice why the initial git clone command isn't working anymore? 
Here is the stacktrace from jenkins server: 
Started on Sep 3, 2015 11:06:22 AM Creating git repository in C:\Jenkins\caches\git-02c0446b939beedabfea0b1e39a6132f FATAL: Unknown repository format org.eclipse.jgit.api.errors.JGitInternalException: Unknown repository format at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:118) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.doInit(JGitAPIImpl.java:216) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.access$600(JGitAPIImpl.java:133) at org.jenkinsci.plugins.gitclient.JGitAPIImpl$7.execute(JGitAPIImpl.java:1556) at org.jenkinsci.plugins.gitclient.JGitAPIImpl.init(JGitAPIImpl.java:211) at