We are using Cloudbees plugin to extend Jenkins Credentials and include our 
own entry point. We renamed the package and now on a plugin upgrade the 
earlier credentials are not retained. Tried below:

//Retain backward compatibility
        @Initializer(before = InitMilestone.PLUGINS_STARTED)
        public static void createAliases() {        
            Items.XSTREAM2.addCompatibilityAlias("old class name", new name); 
}

Doesn't work

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/0fbca941-c9fc-489f-ae20-b54fba1df254%40googlegroups.com.

Reply via email to