How to install jenkins plugins from command line?

后端 未结 4 460
孤街浪徒
孤街浪徒 2020-12-13 19:43

Is there any option to install jenkins plugins from command line ?

I found a command for this after a bit google search :

java -jar /var/lib/jenkins         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 20:19

    If you don't find some straight forward command for installing plugins. Please take a look at this link: How to install a plugin in Jenkins manually?

    But it needs to download the plugin first(*.hpi file) and run it manually.

提交回复
热议问题