-
-
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
Partial fix for #599 add -remoting option #603
Conversation
Signed-off-by: Dieter Blomme <[email protected]>
Opened this PR based on the commit by @p0d0l mentioned in #599 (p0d0l/jenkins@d18f599) |
Signed-off-by: Dieter Blomme <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good— are you folks able to test the change?
@@ -73,6 +73,8 @@ def execute!(*pieces) | |||
command << options[:jvm_options].to_s if options[:jvm_options] | |||
command << %(-jar "#{options[:cli]}") | |||
command << %(-s #{URI.escape(options[:endpoint])}) if options[:endpoint] | |||
command << %(-"#{options[:protocol]}") if options[:protocol] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to line up the spacing for the new lines, here.
@tas50 can you have a look at this? |
For what it's worth, testing this branch against 2.46.2 fixed errors with |
Agreed that this changeset fixes the issues. |
It seems that in current versions of Jenkins 2 (tested with 2.60.1) the default You have to explicitly enable remoting under "Manage Jenkins -> Security" or create
Thanks @darioabashton who led me to this here: |
Description
This is a change that allows a -remoting option to be used with jenkins-cli. Full credits go to @p0d0l
Issues Resolved
#599 and #602
Check List