Disable auto-update / Switching to LTS

1,483 views
Skip to first unread message

Markus

unread,
Apr 16, 2012, 5:08:02 AM4/16/12
to Jenkins Users

Hello,

How can I disable that Jenkins automatically updates itself? We are
running on CentOS and using the RedHat Linux RPM packages for Jenkins.
Our system admin has ensured me that the OS does not upgrade Jenkins.

The reason for this question is that I would like to switch to the LTS
version, but since the LTS always is a step behind the Latest and
Greatest, I would like to avoid downgrading.

(On that note - the Wiki page https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line
could need some information on switching from Latest and Greatest to
LTS.)

Have a nice day!

Best regards,
Markus

Neil Bird

unread,
Apr 16, 2012, 11:35:53 AM4/16/12
to jenkins...@googlegroups.com
Around about 16/04/12 10:08, Markus typed ...

> How can I disable that Jenkins automatically updates itself? We are
> running on CentOS and using the RedHat Linux RPM packages for Jenkins.
> Our system admin has ensured me that the OS does not upgrade Jenkins.

Then I would have to suggest that he's wrong; do you have yum-autoupdate
installed? 'Cos that would do it. If so, uninstall it, or edit
/etc/sysconfig/yum-autoupdate

I don't know if you can selectively not update just jenkins.


Otherwise, I don't know of any [default] mechanism where jenkins *would*
update.

--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

Les Mikesell

unread,
Apr 16, 2012, 1:38:50 PM4/16/12
to jenkins...@googlegroups.com
On Mon, Apr 16, 2012 at 10:35 AM, Neil Bird <ne...@fnxweb.com> wrote:
> Around about 16/04/12 10:08, Markus typed ...
>
>> How can I disable that Jenkins automatically updates itself? We are
>> running on CentOS and using the RedHat Linux RPM packages for Jenkins.
>> Our system admin has ensured me that the OS does not upgrade Jenkins.
>
>
>  Then I would have to suggest that he's wrong;  do you have yum-autoupdate
> installed?  'Cos that would do it.  If so, uninstall it, or edit
> /etc/sysconfig/yum-autoupdate
>
>  I don't know if you can selectively not update just jenkins.
>
>
>  Otherwise, I don't know of any [default] mechanism where jenkins *would*
> update.

Even if it isn't doing auto-updates, jenkins might update along with
the rest of the system whenever a 'yum update' is done. To stop it,
edit /etc/yum.repos.d/jenkins.repo and add a line that says
"enabled=0". Then it will only update if you change it to enabled=1
or override on the yum command line with --enablerepo=jenkins.

--
Les Mikesell
lesmi...@gmail.com

Reply all
Reply to author
Forward
0 new messages