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

  • 相关阅读:
    MobileNet V1 V2
    异常检测 与 One Class SVM
    异常检测
    图像分割
    1x1卷积核的作用
    迁移学习
    python
    图像分割
    图像分割
    Nagios
  • 原文地址:https://www.cnblogs.com/SZLLQ2000/p/8629885.html
Copyright © 2011-2022 走看看