How to install plugin with jenkins-cli with version?

591 views
Skip to first unread message

user_dev

unread,
Sep 23, 2016, 10:31:05 AM9/23/16
to Jenkins Users
I am trying to install jenkins plugin with jenkins-cli , it works if 

java -jar /opt/jenkins/jenkins-cli.jar -s http://localhost:8080 install-plugin git but fails for 

java -jar /opt/jenkins/jenkins-cli.jar -s http://localhost:8080 install-plugin git 2.53. Reading to the docs it says that jenkins-cli only expects shortname

How to do that ?

Daniel Beck

unread,
Sep 23, 2016, 11:15:29 AM9/23/16
to jenkins...@googlegroups.com
Specify a URL or local path to a file.

The update site doesn't have metadata for arbitrary versions, so you need to provide enough information.
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/884c72fd-8ac1-4b66-b286-2b31749647da%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages