zoukankan      html  css  js  c++  java
  • How to disable a plugin when Jenkins is down?

     ===(different .jpi and bak and restore it )===

    Environment

    • Jenkins
    • CloudBees Jenkins Enterprise
    • CloudBees Jenkins Operations Center

    Resolution

    To disable a plugin: touch <$JENKINS_HOME>/plugins/<PLUGIN_ID>.jpi.disabled

    For example, to disable Green balls plugin, run:

    touch $JENKINS_HOME/plugins/greenballs.jpi.disabled
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Resolution

    First of all, check if the Pipeline plugins are not disabled, so there should be no workflow-*.[hpi|jpi].disabled file into the $JENKINS_HOME/plugins directory. You must remove them in case of.

    If not, here the steps that fixed the issue with the environment described above:
    1. Download the workflow-api version 1.14 from the Jenkins plugins download site
    2. Remove the workflow-api.jpi folder and file from the $JENKINS_HOME/plugins directory
    3. Copy the workflow-api.hpi file into the $JENKINS_HOME/plugins directory
    4. Create a workflow-api.jpi.pinned empty file into the $JENKINS_HOME/plugins directory

  • 相关阅读:
    C
    数论::整除分块
    洛谷P1262 间谍网络
    洛谷P1649 【[USACO07OCT]障碍路线Obstacle Course】
    HDU2066dijkstra模板题
    Captain Flint and Treasure
    CodeForces
    CodeForces
    HDU-1827
    HDU 1811
  • 原文地址:https://www.cnblogs.com/SZLLQ2000/p/8629885.html
Copyright © 2011-2022 走看看