如何在Jenkins中禁用更新

时间:2018-12-13 07:21:06

标签: jenkins

我是否有机会禁用詹金斯(例如插件)中不需要的更新,所以管道在管道中时不应中断。并且会破坏管道的稳定性。

我在Jenkins中查看了Configure System,但是看不到任何有关它的信息。

2 个答案:

答案 0 :(得分:3)

从jenkins 2.230开始,您可以添加下一个JCasC yaml配置:

jenkins:
  disabledAdministrativeMonitors:
    - hudson.model.UpdateCenter$CoreUpdateMonitor

更多信息:

https://github.com/jenkinsci/configuration-as-code-plugin

https://issues.jenkins-ci.org/browse/JENKINS-56937

https://github.com/jenkinsci/jenkins/pull/4552

https://javadoc.jenkins.io/hudson/model/UpdateCenter.CoreUpdateMonitor.html

答案 1 :(得分:0)

“管理Jenkins”下有一个选项:“配置系统”->“管理监视器”配置。取消选中“ Jenkins更新通知”。

https://groups.google.com/forum/#!msg/jenkinsci-users/TSY2MhkTNJ4/FGuNd_BaBgAJ