I took a bit more of an automatic approach. It updates on startup https://github.com/jenkinsci/sauce-ondemand-plugin/blob/e67c8573775be8222a5784d85d9fcca980be92d6/src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandBuildWrapper.java#L1011-L1063
On Wednesday, November 30, 2016 at 10:43:57 AM UTC-8, Jesse Glick wrote: > > On Tue, Nov 29, 2016 at 3:04 PM, 'Claudiu Guiman' via Jenkins > Developers <[email protected] <javascript:>> wrote: > > We’re currently working on storing the credentials of Azure storage > plugin > > in the Credentials Manager. When we’ll release, upgrading from an older > > version to the latest will remove existing credentials and the users > will > > have to manually add them again. > > Plugins are routinely switched to Credentials with compatibility code > that automatically migrates existing secrets. There are numerous > examples you can find; here is one: > > > https://github.com/jenkinsci/ssh-slaves-plugin/blob/ae2d6dee1a03a155c991809a4fcac11c5537bdd9/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java#L512-L546 > > -- 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/db32a0f6-3586-4c3f-87ea-b0a588f26ff3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
