-
Notifications
You must be signed in to change notification settings - Fork 353
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
java.lang.IllegalStateException: Can't find clone link for protocol HTTP #866
Comments
Had the same issue, could be fixed by run "Scan Organization Folder" manualy. The most recent version 888.v8e6d479a_1730 |
I just have a single multibranch pipeline job setup; I don't have an organization folder configured here. Therefore, I don't think I can do what you are suggesting. |
One potentially important distinction here, I'm using the "checkout over SSH" feature in my job configuration. |
In this case, it would be "Scan Multibranch Pipeline". Navigate to your job and it should be on the left side.
I do the same. |
Yep. I did that. I still get the error message I posted in this issue. |
Hi, I am experiencing this issue with the latest version of the plugin, 888.v8e6d479a_1730 . I have been forced to keep this plugin downgraded due to this issue. Version 866.vdea_7dcd3008e is the last known working one for me. |
Do you have a Bitbucket server instance installed in the local NET? I do not know how DataCenter or Cloud instances can expose HTTP protocol instead of HTTPS. |
No it was done to fix a regression where clone links (regardless the protocol) was not set anymore in commit 6e501b9 Regression was introduced after 888.v8e6d479a_1730 so I think does not resolve this issue, maybe could. If you have a chance to test latest version a report a feedback it would be great. |
Also ran into this issue today, was using the latest release, reverting to @nfalco79 If you have some steps for me on how I can build the plugin from source I don't mind doing a little bit of debugging and see if I can find the issue. I'm not a Java developer however, so I'm not familiar with the ecosystem and things like Maven, so would need a step by step what commands to run to end up with a package that I can directly upload in my Jenkins. But I have a test Jenkins running on my machine where I could quickly iterate with debugging. |
@nfalco79 Managed to figure out how to build the package and did some debugging. The regression comes from commit ad359b3. Here Line 1007 in 89ddddb
This affects the Lines 159 to 180 in 89ddddb
If If I simply add back the Hopefully this helps. Also I tested with the current |
Thanks to dig into the issue. If so this will be resolved by PR #867 but unfortunately it is blocked by jenkinsci/git-plugin#1649 |
@nfalco79 thanks! I notice though that jenkinsci/git-plugin#1649 is already merged, did you maybe mean jenkinsci/git-plugin#1687 ? I see that PR is referenced there and still open. |
My fault, i mean this one |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Oracle Linux
Reproduction steps
Expected Results
Check out the code from the specified repo
Actual Results
Anything else?
This appears to be directly related to #804 . However, I tried the latest plugin version (888.v8e6d479a_1730), and that still shows this problem. Therefore I'm tempted to believe that #804 is not solved.
Are you interested in contributing a fix?
No
The text was updated successfully, but these errors were encountered: