File tree Expand file tree Collapse file tree
src/main/java/org/jenkinsci/plugins/github/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ public class GitHubPluginConfig extends GlobalConfiguration {
8282 private transient InstanceIdentity identity ;
8383
8484 public GitHubPluginConfig () {
85+ getConfigFile ().getXStream ().alias ("github-server-config" , GitHubServerConfig .class );
8586 load ();
8687 }
8788
Original file line number Diff line number Diff line change 77import com .google .common .base .Optional ;
88import com .google .common .base .Predicate ;
99import com .google .common .base .Supplier ;
10- import com .thoughtworks .xstream .annotations .XStreamAlias ;
1110import edu .umd .cs .findbugs .annotations .NonNull ;
1211import hudson .Extension ;
1312import hudson .Util ;
5958 * @author lanwen (Merkushev Kirill)
6059 * @since 1.13.0
6160 */
62- @ XStreamAlias ("github-server-config" )
6361public class GitHubServerConfig extends AbstractDescribableImpl <GitHubServerConfig > {
6462 private static final Logger LOGGER = LoggerFactory .getLogger (GitHubServerConfig .class );
6563
You can’t perform that action at this time.
0 commit comments