Re: Disable auto-update / Switching to LTS

2012-04-16 Thread Les Mikesell
On Mon, Apr 16, 2012 at 10:35 AM, Neil Bird  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
 lesmikes...@gmail.com


Re: Disable auto-update / Switching to LTS

2012-04-16 Thread Neil Bird

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


Disable auto-update / Switching to LTS

2012-04-16 Thread Markus

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