Git Product home page Git Product logo

Comments (4)

aairey avatar aairey commented on July 3, 2024 2

Think I may have opened this issue on the wrong project (?).

Anyhow, I tried jx import on a project yesterday and it got up to the point of creating the multibranch job on Jenkins.
However it could not scan the BitBucket project / repository - showing the following output:

[Thu Oct 18 16:07:27 UTC 2018] Starting branch indexing...
ERROR: [Thu Oct 18 16:07:27 UTC 2018] Could not update folder level actions from source f82b5bae-d2eb-11e8-891f-28f10e15fb27
org.apache.http.HttpException: ssh protocol is not supported
	at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:89)
	at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
Caused: org.apache.http.client.ClientProtocolException
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRequest(BitbucketServerAPIClient.java:655)
Caused: java.io.IOException: Communication error for url: /rest/api/1.0/projects/dms/repos/dms
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRequest(BitbucketServerAPIClient.java:685)
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRepository(BitbucketServerAPIClient.java:363)
	at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveActions(BitbucketSCMSource.java:1068)
	at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:748)
	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:590)
	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
[Thu Oct 18 16:07:27 UTC 2018] Finished branch indexing. Indexing took 0.27 sec
FATAL: Failed to recompute children of dms ยป dms
java.io.IOException: Communication error for url: /rest/api/1.0/projects/dms/repos/dms
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRequest(BitbucketServerAPIClient.java:685)
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRepository(BitbucketServerAPIClient.java:363)
	at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveActions(BitbucketSCMSource.java:1068)
	at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:748)
	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:590)
	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276)
	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1024)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: org.apache.http.client.ClientProtocolException
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRequest(BitbucketServerAPIClient.java:655)
	... 9 more
Caused by: org.apache.http.HttpException: ssh protocol is not supported
	at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:89)
	at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	... 11 more
Finished: FAILURE 

Only later I found this issue where it is clear it is not yet fully supported.
If there is anything I can do to help (maybe run a test version of jx), let me know.

PS: the link from the roadmap links to the bitbucket**.org** issue (#36).

from jx.

ccojocar avatar ccojocar commented on July 3, 2024

@wbrefvem Can we close this issue? Are the repositories created? Thanks

from jx.

aairey avatar aairey commented on July 3, 2024

This is related to ssh not being implemented as checkout method.
Haven't tried Jenkins X since as it was blocking us, so not sure if this functionality is now there?

from jx.

wbrefvem avatar wbrefvem commented on July 3, 2024

@aairey There have been some issues related to Bitbucket and jx import, but it should be working now. Do you mind giving it a spin and telling us what you find? You can either raise a new issue or ping me on Slack. (https://jenkins-x.io/community/ for Slack info)

@ccojocar Yeah, I'm going to go head and close it.

from jx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.