How to install a plugin in Jenkins manually

后端 未结 12 646
你的背包
你的背包 2020-11-29 17:06

Installing a plugin from the Update center results in:

Checking internet connectivity Failed to connect to http://www.google.com/. Perhaps you need

12条回答
  •  甜味超标
    2020-11-29 18:02

    This is a way to copy plugins from one Jenkins box to another.

    Copy over the plugins directory:

    scp -r jenkins-box.url.com:/var/lib/jenkins/plugins .
    

    Compress the plugins:

    tar cvfJ plugins.tar.xz plugins
    

    Copy them over to the other Jenkins box:

    scp plugins.tar.xz different-jenkins-box.url.com
    ssh different-jenkins-box.url.com "tar xvfJ plugins.tar.xz -C /var/lib/jenkins"
    

    Restart Jenkins.

提交回复
热议问题