Great thanks. That's the page I remember seeing a while back but just couldn't find it again :)
Richard. On Mon, 11 Dec 2017, 2:19 AM Baptiste Mathus, <[email protected]> wrote: > > https://wiki.jenkins.io/display/JENKINS/Hint+on+retaining+backward+compatibility#Hintonretainingbackwardcompatibility-Scenario:Addinganewfield > ? > > 2017-12-10 4:26 GMT+01:00 Richard Bywater <[email protected]>: > >> Hi >> >> I'm making a change to my plugin that will require all instances of a >> configuration to have a new persistent "id" variable. >> >> I've dealt with the creation case by having a hidden field and a >> DataBoundConstructor that sees the id is empty and creates one, but I'd >> like all instances of the config to have a id variable added in a similar >> manner when the plugin is updated. >> >> Is this possible or can this id variable only be added when the >> configuration page is visited and the config re-saved? >> >> Any pointers to docs or previous threads gratefully received - I've >> hunted around but not been able to use my Google-fu to find anything yet. >> >> Thanks >> Richard. >> >> -- >> 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/CAMui9462bD%2BQ81%2B_9Ye%2BgAaxQVJcBkwfCCb2OS9%2BqdFLG-%3DS2g%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAMui9462bD%2BQ81%2B_9Ye%2BgAaxQVJcBkwfCCb2OS9%2BqdFLG-%3DS2g%40mail.gmail.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/CANWgJS5-KSJ_gqeU3w3wR%3DqimH945TLYOTGO5sY9sEBUF3EpNA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5-KSJ_gqeU3w3wR%3DqimH945TLYOTGO5sY9sEBUF3EpNA%40mail.gmail.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/CAMui946uv1y1%3DnCfGUYkrjWtpunrp%2Bnbew%3D%3DnBSAgk%2BxnJJj4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
