-
Notifications
You must be signed in to change notification settings - Fork 202
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
Add support for file:// protocol in plugin URI #365
Comments
There’s not currently, it needs to be hosted on a web server for now |
I think it is rather RFE than bug, but indeed it would be awesome to have it implemented |
Hello, |
hello, |
@nijicompany and @shmarsy you'll need Apache Maven and Java 11. You'll probably want an integrated development environment (IDE) like Visual Studio Code, IntelliJ, Apache Netbeans, or Eclipse. See https://www.jenkins.io/participate/code/ for good guidelines on ways that you can contribute with code. If you prefer more of a step-wise tutorial, see the five part video series on modernizing a plugin. If you prefer written rather than video, consider the "Contributing to Open Source" document. |
Hello there ,I want to know if the bug is still there or not, if its then what is the plugin about? Is it a git plugin to be used? |
What I have so far
I need help with understanding
|
Have you tried running the command |
What @prakrit55 said:
Hi @prakrit55 I believe this is still an active issue to be resovled. This plugin is used to manage plugin installations. According to the
|
Hi, I am interested in this issue. @krisstern @MarkEWaite I would like to fix it. Does anyone already fix it? Or it still waiting for someone to fix it? Thanks. |
Hi @jiakuanghe I don't think a PR has been submitted for this issue yet, so you may go ahead and try to come up with a patch. Enjoy! |
@krisstern I just opened a PR in #522 Would you like to help me see if it is the correct way to submit a PR? But the PR is for another issue. I will finish this issue as well. Thanks. |
@jiakuanghe Sure! It is better to put
Other than that the PR looks okay to be on the surface at least. |
Done. I've edited it. Thanks for letting me know. |
You are welcome @jiakuanghe! |
can anyone give a resource to solve this issue |
Hi, I am not able to reproduce the issue. The tool works fine. Is this issue still unresolved? |
Version report
Jenkins and plugins versions report:
Jenkins 2.303.1; no plugins installed
Reproduction steps
jenkins-plugin-cli -p git:4.8.2_CMT:file:///usr/share/jenkins/ref/plugins/git-4.8.2_CMT.hpi
Results
Expected result:
I expected to see the plugin and all of its dependencies get installed.
Actual result:
I got an error:
Unable to resolve plugin URL file:///usr/share/jenkins/ref/plugins/git-4.8.2_CMT.hpi, or download plugin git to file: URI does not specify a valid host name: file:///usr/share/jenkins/ref/plugins/git-4.8.2_CMT.hpi
I believe the problem is that jenkins-plugin-cli does not support the file:// protocol. If there is some other known way to install a local hpi file using jenkins-plugin-cli dependency resolver, let me know.
The text was updated successfully, but these errors were encountered: