Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

branch source plugin shortens git repo location #9

Open
Kollerb04 opened this issue Mar 13, 2017 · 4 comments
Open

branch source plugin shortens git repo location #9

Kollerb04 opened this issue Mar 13, 2017 · 4 comments

Comments

@Kollerb04
Copy link

Kollerb04 commented Mar 13, 2017

Occurs in 2.1.1 and 2.1.0. My first post so forgive me if it landed in the wrong place.
Bitbucket base url is http://something/bitbucket/. The team job is created, branches and repos are indexed properly. But all builds fail with trying to adress the repo with http://something/scm/someuser/repo.git while it should start with http://something/bitbucket/... ?

ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from http://something/scm/someuser/repo.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:806)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1070)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:130)
at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:107)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:232)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress http://something/scm/someuser/repo.git +refs/heads/master" returned status code 128:
stdout:
stderr: fatal: repository 'http://something/scm/someuser/repo.git' not found

Jenkins ver 2.36 all plugins are up to date
https://issues.jenkins-ci.org/browse/JENKINS-42190

@fluky
Copy link

fluky commented Apr 24, 2017

+1

@eloo
Copy link

eloo commented Jun 1, 2017

same here :/

@spotlesscoder
Copy link

spotlesscoder commented Jun 26, 2017

For me, it is similar. It takes forever at the step

git fetch --tags --progress http://something/scm/someuser/repo.git +refs/heads/master

(Masked : and organizationname)

image

@spotlesscoder
Copy link

Ok, the error might be a different one:

The final result of the Job is the following:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants