If you are looking to "upgrade" settings, the best way to do it is via the readResolve. You can see information about it here: https://wiki.jenkins.io/display/JENKINS/Hint+on+retaining+backward+compatibility
On Wed, Sep 20, 2017 at 3:44 PM Antonio Osorio <[email protected]> wrote: > Hi, > > I would like to work on https://issues.jenkins-ci.org/browse/JENKINS-15925. > As suggested on https://github.com/jenkinsci/ec2-plugin/pull/28, I want > to migrate the Security Groups value of the current configuration to the > new format (to use pipe “|” as a separator instead of commas “,") when > installing the plugin. > > Is there a way to execute this migration when the plugin is installed if > it comes from an old enough version? If so, links to documentation/code of > plugins that do this would be greatly appreciated. > > Regards, > > Antonio > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/8FA48AAB-5735-4694-A4AB-B550805DE86A%40gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/8FA48AAB-5735-4694-A4AB-B550805DE86A%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVcqDOV0tpjE_LdgJEnxF-HsN791XA0JXsHLqr4eNJT6ug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
