Comments (4)
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.
@wbrefvem Can we close this issue? Are the repositories created? Thanks
from jx.
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.
@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)
- JenkinsX just stopped triggering pipelines
- jx git operator minikube install on windows hangs on "waiting for the mandatory Secrets to be populated from ExternalSecrets" util timeout. HOT 1
- Migrate to Native Tekton HOT 2
- Results passed between tasks disappear when using a "uses" step
- Quickstarts giving: repository 'https://github.com/jenkins-x-bdd/repo.git/' not found
- The pipeline is getting failed and not able to identify where exactly it is getting failed HOT 1
- jx-git-operator โ Error: context deadline exceeded HOT 1
- jenkins
- Outdated jx version installed by brew HOT 2
- Update Twitter Icon on Website
- bvv ccvbn
- asfdasfasf
- Error executing Maven HOT 1
- Top Jenkins X Contributor Award 2024 HOT 2
- Monorepo support in V3?
- no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"~!!! HOT 2
- Switch to artifact registry for GKE HOT 2
- "jx admin operator" takes too long time waiting
- Failing while building jenkins-parent version 2.319.2 using mvn clean install (org.jenkins-ci.main:jenkins-parent:2.319.2) HOT 2
- Upgrade Jenkins X repositories to go 1.22 HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jx.