How to install a plugin in Jenkins manually

后端 未结 12 641
你的背包
你的背包 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 17:50

    Update for Docker: use the install-plugins.sh script. It takes a list of plugin names minus the '-plugin' extension. See the description here.

    install-plugins.sh replaces the deprecated plugins.sh which now warns :

    WARN: plugins.sh is deprecated, please switch to install-plugins.sh

    To use a plugins.txt as per plugins.sh see this issue and this workaround:

    RUN /usr/local/bin/install-plugins.sh $(cat /usr/share/jenkins/plugins.txt | tr '\n' ' ')

提交回复
热议问题