-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
Plugin installation fails via jenkins_plugin action #614
Comments
+1, also was able to run the command by prepending |
The offending function: https://github.com/chef-cookbooks/jenkins/blob/master/libraries/plugin.rb#L302 Something must be stripping out the file:/// URI there |
Is there any release timeline for this release? Or a work around that I can use directly in the jenkins cookbook wrapper? The file:// issue is preventing me from finishing my task! |
This has been released. Give it a try and open this back up if it's still a problem. |
When using the jenkins_plugin action with a named plugin, Jenkins CLI fails to install the plugin seemingly because of an inability to read the file path URI as a valid path.
See output at bottom.
I am also able to log into the VM and manually run the failing command:
However, if I add
file://
to the beginning of the path to the plugin on the VM, it works:Cookbook version
5.0.1
Chef-client version
13.0.118
Platform Details
CentOS 6.8 VM in VirtualBox. Running on MacOS 10.10.x
Scenario:
Running Jenkins server created via the Jenkins cookbook. SSHd service is running (though this fails via http protocol as well).
Steps to Reproduce:
Run action:
Expected Result:
Plugin is installed
Actual Result:
The text was updated successfully, but these errors were encountered: