Disabling Jenkins' new version message

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Disabling Jenkins' new version message

Sébastien Hinderer
Dear all,

Is there a way to disable the message about newer Jenkins versions and
also the security-related warnings?

Thanks!

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20170428122213.f4ctvwnuewu2css6%40pl-59055.rocqadm.inria.fr.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Dmitry Lampsi
Hi, Sébastien. 
I think something useful you can find here - https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties
According to this link you can pass 'hudson.model.UpdateCenter.never property' to 'true' in command line to start Jenkins. Its disabling update checking 4erer :)

On Friday, April 28, 2017 at 3:22:34 PM UTC+3, Sébastien Hinderer wrote:
Dear all,

Is there a way to disable the message about newer Jenkins versions and
also the security-related warnings?

Thanks!

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6a1778bb-bee9-403c-8b4b-813bca9238b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

stephenconnolly
In reply to this post by Sébastien Hinderer
I find upgrading and fixing the security issues disables the warning ;-)

On Fri 28 Apr 2017 at 13:22, Sébastien Hinderer <[hidden email]> wrote:
Dear all,

Is there a way to disable the message about newer Jenkins versions and
also the security-related warnings?

Thanks!

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20170428122213.f4ctvwnuewu2css6%40pl-59055.rocqadm.inria.fr.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMxabj_NDj8Se%2ByBh6sRJ-FwbqKy5-ScQVuvpzQ7gWXBVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Sébastien Hinderer
Stephen Connolly (2017/04/28 22:49 +0000):
> I find upgrading and fixing the security issues disables the warning
> ;-)

Obviously, but in our use case we can't because the research institute I
am working for has deigned a portal which integrates Jenkins with other
services. It seems the integration has been done in a way which makes it
fragile, so that an upgrade of the Jenkins server with out a
corresponding update of the portal may break the whole thing.

I find it a pity because I'd really prefer to just update, but it seems
in this situation it is simply not the best thing to do and we have to
let the service in charge of continuous integration here manage the
upgrades, hence the idea to disable the notifications, to avoid that a
future admin of our Jenkins instance, not aware of this, updates and
breaks everything.

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20170429105004.qs24ru4ve7gopylk%40pl-59055.rocqadm.inria.fr.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Sébastien Hinderer
In reply to this post by Dmitry Lampsi
Dear Dmitry,

Many thanks for your helpful response!

I think, given the constraints I described in a previous e-mail, what
you suggest is exactly what we need.

Having no access to the server running the Jenkins instance I can't try
it by myself but I suggested the modification to our support team.
Best wishes,

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20170429121750.uszectxwsuavhmrz%40pl-59055.rocqadm.inria.fr.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Sébastien Hinderer
In reply to this post by Dmitry Lampsi
Hi,

Dmitry Lampsi (2017/04/28 11:32 -0700):
> Hi, Sébastien.
> I think something useful you can find here
> - https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties
> According to this link you can pass 'hudson.model.UpdateCenter.never
> property' to 'true' in command line to start Jenkins. Its disabling update
> checking 4erer :)

So after some experimenting, it seems this property is not exactly what
we need. To give an example, if an administrator of a Jenkins instance
installs a new plugin on the instance, then a connectin to the update
center will be done and the data about new updates will become available
and the message inviting to update Jenkins itself will show up again.

Given the way Jenkins is used here, what we would really need would be a
way to allow plugins to be upgraded from within the Interface butt at
the same time not permit the admins to update Jenkins' core.

Can anybody think of a way to achieve this, please?

Thanks a lot in advance,

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20170504080245.2cnttzfho2wqiiqn%40pl-59055.rocqadm.inria.fr.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Daniel Beck

> On 04.05.2017, at 10:02, Sébastien Hinderer <[hidden email]> wrote:
>
> Can anybody think of a way to achieve this, please?

Current versions of Jenkins have options in Configure System to disable specific administrative monitors. This is one of them.

Note that removing write access to jenkins.war from the user that Jenkins is running as will disable Jenkins' ability to self-upgrade, only showing a notice and link to the website.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CBB26F7C-B4EF-43AD-86CA-3884D536F2B6%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Sébastien Hinderer
Dear Daniel,

Many thanks for your prompt and helpful response.

> Current versions of Jenkins have options in Configure System to
> disable specific administrative monitors. This is one of them.

Very interesting, thanks! May I ask in which version of Jenkins this
feature has been introduced?

> Note that removing write access to jenkins.war from the user that
> Jenkins is running as will disable Jenkins' ability to self-upgrade,
> only showing a notice and link to the website.

That would indeed already be an improvement upon the current situation,
thanks for the trick!

Of course, being able to disable the notification completely would be
even better, but if this can not be achieved then your proposal seems a
really good solution!

Thanks,

Sébastien.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20170504124201.3soqs3j7v5nrulhx%40pl-59055.rocqadm.inria.fr.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

Daniel Beck

> On 04.05.2017, at 14:42, Sébastien Hinderer <[hidden email]> wrote:
>
> Very interesting, thanks! May I ask in which version of Jenkins this
> feature has been introduced?

2.24.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9E8EAC0E-61E2-45B2-944C-33976EEE8ED0%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Disabling Jenkins' new version message

speak2muhammed
Go to Manage Jenkins> Configure System> Administrative monitors configuration and uncheck Jenkins Update Notification box
and save the settings and refresh jenkins page. Now you should not see the jenkins new version update notification.

On Sunday, May 7, 2017 at 6:20:14 PM UTC-4, Daniel Beck wrote:

> On 04.05.2017, at 14:42, Sébastien Hinderer <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="t9BBk4yaAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">Sebastien...@...> wrote:
>
> Very interesting, thanks! May I ask in which version of Jenkins this
> feature has been introduced?

2.24.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3bfd3797-5e44-4ac3-95f7-642d39c25982%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.