-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
I am working through `https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI`.
I am unable to get the jenkins-cli.jar to work, but am able to get ssh to work.
ssh -i localjenkins -p 59319 admin@localhost list-plugins (works)
versus
java -jar ~/Downloads/jenkins-cli.jar -i localjenkins -s http://localhost:8080 (or 59319)
While it seems you must supply a protocol (http) in the URI it is unclear to me if it uses it. I assume that the CLI runs off of the SSL port which is not the same (59319 not 8080) in my case. I suspect the issue is how do you 'pick' the user associated with the ssh keys, but I am unsure. Not sure if this is a bug, improvement, or user error; but some guidance would be appreciated.
Regards.
Ron