Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable updates in Jenkins

Tags:

jenkins

Do I have a chance to disable unwanted updates in jenkins such as plugins, so the pipeline should not break while in pipeline. And it can break the stability of pipeline.

I looked at Configure System in Jenkins but I could not see any information about it.

like image 515
JamesCoder Avatar asked Dec 13 '18 07:12

JamesCoder


2 Answers

Starting jenkins 2.230 you can add next JCasC yaml config:

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

More info:

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

like image 102
user2153517 Avatar answered Sep 30 '22 17:09

user2153517


There is an option under Manage Jenkins: Configure System -> Administrative monitors configuration. Uncheck "Jenkins Update Notification".

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

like image 44
impks Avatar answered Sep 30 '22 19:09

impks