Skip to content
Permalink
Browse files
[FIXED JENKINS-10118] force the registration of the converter.
  • Loading branch information
kohsuke committed Jan 28, 2012
1 parent 5f3f3cb commit 1cbffeeccd9c50702084cb7a454d5771086a6a29
Showing 1 changed file with 3 additions and 0 deletions.
@@ -25,6 +25,9 @@ public class PluginImpl extends Plugin implements Describable<PluginImpl> {
public void start() throws Exception {
// backward compatibility with the legacy class name
Hudson.XSTREAM.alias("hudson.plugins.ec2.EC2Cloud",AmazonEC2Cloud.class);

// make sure the converter gets registered by forcing static initializer
AwsRegion.AP_NORTHEAST_1.toString();

load();
}

0 comments on commit 1cbffee

Please sign in to comment.