Bug 836204 - jenkins - New version of Jenkins is available message
Summary: jenkins - New version of Jenkins is available message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-28 11:03 UTC by Aleksandar Kostadinov
Modified: 2015-05-14 22:56 UTC (History)
4 users (show)

Fixed In Version: devenv_1883
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 20:42:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Aleksandar Kostadinov 2012-06-28 11:03:24 UTC
When I created a new jenkins app, when logged in I see the following message:

> New version of Jenkins (1.472) is available for download.

AFAIK user can't upgrade jenkins at will so such messages should be suppressed from the UI.

Comment 1 Bill DeCoste 2012-07-09 15:51:47 UTC
We also need to upgrade jenkins to resolve 823837 - that would temporarily fix this and revolve the other

Comment 2 Dan Mace 2012-07-11 13:41:47 UTC
Patch introduced to disable the Jenkins update checks.

Comment 3 Dan Mace 2012-07-11 13:42:32 UTC
Fixed with: https://github.com/openshift/crankcase/pull/199

Comment 4 Meng Bo 2012-07-13 08:13:33 UTC
Checked on latest stage, create jenkins server and visit the jenkins console, walkthrough it, no such warning appears.

Comment 5 Aleksandar Kostadinov 2012-07-13 08:19:39 UTC
Do notifications on new plug-in versions still work?

Comment 6 Meng Bo 2012-07-13 09:00:52 UTC
Sorry for the missing check, after click the 'Check now' in the Update Center, the "New version of Jenkins (1.474) is available for download (changelog). " appears.
Assign this bug back.

Comment 7 Dan Mace 2012-07-13 12:49:41 UTC
The original bug description was to suppress the *automatic* update warning that was appearing. The patch in place correctly suppresses the automatic warning by disabling automatic update checking.

Of course, if the user explicitly invokes update checks, they will be told whether or not a new version is available. This is expected as they actively checked through an explicit UI interaction, and the patch in place doesn't remove Jenkins' ability to check for updates, it merely configures it from an automation standpoint.

If there really is a requirement to somehow rip out the automatic update component of Jenkins, please open a new bug specifically for that use case. I am not sure it's possible to outright remove the automatic update checking component without maintaining our own custom version of Jenkins. If altering the Jenkins distribution itself would be required, we'd have to open a story to evaluate the effort and sanity of such an approach.

In any case, this particular bug is resolved, and let's talk about the requirements for the newly discovered use case before re-opening this bug.

Thanks.

Comment 8 Aleksandar Kostadinov 2012-07-16 19:29:59 UTC
Well I believe user should not be bugged by such warnings that he/she can do nothing to remove. If there is a switch to enable updates for core jenkins and that is turned off by default, then fine, if user enables that, then its not our problem.

It just doesn't feel polished to see errors and warnings about things you can do nothing about and are not a real problem.

Comment 9 Meng Bo 2012-07-17 01:43:19 UTC
As devel and reporter's comments. Mark this bug as verified.

Comment 10 Mike McGrath 2012-07-17 13:39:22 UTC
Eh, I think this is now a new bug (one should probably be opened for it).  But even with that, it almost seems like we'd have to patch jenkins in order to fix it and I'm not so sure we should be in the business of doing that at the moment.

I think the user clicking check now is an action outside of our control but it's worth investigation.  Perhaps just in a new low priority bug.


Note You need to log in before you can comment on or make changes to this bug.