LTS Release Snapshots

45 views
Skip to first unread message

rqui

unread,
Oct 12, 2015, 5:44:47 PM10/12/15
to Jenkins Users
Hello,

Whenever I update to an LTS release, I get the "snapshot" version of it. How do I get the official GA version??

What is the difference between the "snapshot" and "non" snapshot?

Thanks.

Daniel Beck

unread,
Oct 12, 2015, 6:39:50 PM10/12/15
to jenkins...@googlegroups.com
How are you upgrading, and to which release?
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ea317e3f-4c77-41c4-899b-f1d89bfd4d59%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

rqui

unread,
Oct 12, 2015, 7:08:03 PM10/12/15
to Jenkins Users, m...@beckweb.net
I am using the yum repository to upgrade. I just installed the LTS release: jenkins.noarch 0:1.609.3-1.1

Daniel Beck

unread,
Oct 12, 2015, 7:20:07 PM10/12/15
to jenkins...@googlegroups.com
The RPM at http://pkg.jenkins-ci.org/redhat-stable/jenkins-1.609.3-1.1.noarch.rpm contains the same Jenkins 1.609.3 WAR as could be downloaded directly (MD5 530e008b162bfec43f38652bd9aed4ed), so it does not appear to be an infrastructure issue.

Maybe something goes wrong during installation/upgrade? Or you set up Jenkins to use a different war than /usr/lib/jenkins.war by editing the config files?
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c12c8b6e-8de5-47dc-bdf3-1e75f5f03bee%40googlegroups.com.

rqui

unread,
Oct 12, 2015, 7:40:27 PM10/12/15
to Jenkins Users, m...@beckweb.net
Hmm...which config file should I check to see if it is using a different war than what is in /usr/lib/jenkins?

Daniel Beck

unread,
Oct 13, 2015, 2:38:12 AM10/13/15
to Jenkins Users
/etc/sysconfig/jenkins or /etc/init.d/jenkins.

Indra Gunawan (ingunawa)

unread,
Oct 13, 2015, 2:08:48 PM10/13/15
to jenkins...@googlegroups.com, m...@beckweb.net
Check the Jenkins start-up script installed by the RPM.  It is /etc/init.d/jenkins

### BEGIN INIT INFO
# Provides:          jenkins
# Required-Start:    $local_fs $remote_fs $network $time $named
# Should-Start: $time sendmail
# Required-Stop:     $local_fs $remote_fs $network $time $named
# Should-Stop: $time sendmail
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Short-Description: Jenkins continuous build server
# Description:       Start the Jenkins continuous build server
### END INIT INFO

# Check for missing binaries (stale symlinks should not happen)
JENKINS_WAR="/usr/lib/jenkins/jenkins.war"


rqui

unread,
Oct 13, 2015, 3:02:38 PM10/13/15
to Jenkins Users, m...@beckweb.net, ingu...@cisco.com
Thanks! I checked the /etc/init.d/jenkins script and it points to the default location: /usr/lib/jenkins/jenkins.war

What else could be the issue?

Daniel Beck

unread,
Oct 13, 2015, 3:05:25 PM10/13/15
to Jenkins Users

On 13.10.2015, at 21:02, rqui <rhondaf...@gmail.com> wrote:

> Thanks! I checked the /etc/init.d/jenkins script and it points to the default location: /usr/lib/jenkins/jenkins.war
>
> What else could be the issue?

It may not be the expected file. Compare checksums.

Make sure you're actually starting Jenkins from these scripts.

rqui

unread,
Oct 13, 2015, 3:11:33 PM10/13/15
to Jenkins Users, m...@beckweb.net
How do I confirm that?

Daniel Beck

unread,
Oct 13, 2015, 3:19:11 PM10/13/15
to jenkins...@googlegroups.com

On 13.10.2015, at 21:11, rqui <rhondaf...@gmail.com> wrote:

> How do I confirm that?

The Jenkins log says which WAR file it's starting from, e.g.:

> Running from: /var/lib/jenkins/jenkins.war


rqui

unread,
Oct 13, 2015, 3:26:32 PM10/13/15
to Jenkins Users, m...@beckweb.net
Actually...I went off of what you said earlier and reinstalled Jenkins.

When I did that, it complained about the repo data so I did a clean metadata, and then reinstalled, and it WORKED!!! I now got the actual 1.609.3 version and NOT the snapshot.

Thank you for your help, Daniel!!!

(And also Indra :) )
Reply all
Reply to author
Forward
0 new messages