-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
windows
Jenkins ver. 1.651.2
Multi-Branch Project Plugin 0.4.2
Git client plugin 1.19.6
Git plugin 2.4.4
Fetching freestyle project works correctly.
Fetching particular multi-branch branch subproject works correctly:
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://bitbucket.org/***.git # timeout=10
Fetching upstream changes from https://bitbucket.org/***.git
> git --version # timeout=10
using .gitcredentials to set credentials
...
Syncing branches does not work:
Started by user admin
Setting origin to https://bitbucket.org/***.git
Fetching origin...
hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: https://bitbucket.org/geeksoft_team/simplefx-front.git: not authorized
at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:680)
at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:174)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146)
at jenkins.scm.api.SCMSource.retrieve(SCMSource.java:230)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:175)
at com.github.mjdetullio.jenkins.plugins.multibranch.AbstractMultiBranchProject.computeChildren(AbstractMultiBranchProject.java:583)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: org.eclipse.jgit.api.errors.TransportException: https://bitbucket.org/geeksoft_team/simplefx-front.git: not authorized
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:678)
... 9 more
Caused by: org.eclipse.jgit.errors.TransportException: https://bitbucket.org/***.git: not authorized
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:504)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
... 10 more
Finished: FAILURE