Display a warning in UpdateCenter before a specific plugin update?

14 views
Skip to first unread message

Fritz Elfert

unread,
Nov 5, 2016, 9:55:33 AM11/5/16
to jenkin...@googlegroups.com
Hi everyone,

Can I somehow display a warning in UpdateCenter which must be confirmed
before my plugin gets updated?

Background:
The old jclouds plugin used to store cloud credentials in it's own
config. The new version now finally uses jenkins credentials framework
exclusively. The upgrade process auto-migrates the config accordingly.

Of course this is an irreversible step and therefore I want to notify
admins and urge them to backup at least config.xml and credentials.xml
*before* the plugin update is started.

*If* this is possible, how do I enforce such a warning dialog?

Thanks
-Fritz

signature.asc

Baptiste Mathus

unread,
Nov 5, 2016, 10:18:41 AM11/5/16
to Jenkins Developers

 -Fritz

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/72325f08-b284-597b-3586-a082bf9fe824%40fritz-elfert.de.
For more options, visit https://groups.google.com/d/optout.

Fritz Elfert

unread,
Nov 5, 2016, 11:10:05 AM11/5/16
to jenkin...@googlegroups.com
Thanks. I was hoping for a customizable message, but this must suffice
then...

Cheers
-Fritz

On 05.11.2016 15:18, Baptiste Mathus wrote:
> Hi,
> see https://wiki.jenkins-ci.org/display/JENKINS/Marking+a+new+plugin+version+as+incompatible+with+older+versions
>
> Cheers
>
> 2016-11-05 14:55 GMT+01:00 Fritz Elfert <fr...@fritz-elfert.de
> <mailto:fr...@fritz-elfert.de>>:
>
> Hi everyone,
>
> Can I somehow display a warning in UpdateCenter which must be confirmed
> before my plugin gets updated?
[...]


signature.asc
Reply all
Reply to author
Forward
0 new messages