File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
src/main/java/org/jenkinsci/plugins/github Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,9 @@ public static void addXStreamAliases() {
31
31
32
32
/**
33
33
* Launches migration after plugin already initialized.
34
- * Expected milestone: @Initializer(after = PLUGINS_PREPARED)
35
- *
36
- * @see #migrator()
34
+ * We need ensure that migrator will run after xstream aliases will be added.
37
35
*/
36
+ @ Initializer (after = PLUGINS_PREPARED , before = PLUGINS_STARTED )
38
37
public static void runMigrator () throws Exception {
39
38
new Migrator ().migrate ();
40
39
}
@@ -44,15 +43,6 @@ public void start() throws Exception {
44
43
addXStreamAliases ();
45
44
}
46
45
47
- /**
48
- * We need ensure that migrator will run after xstream aliases will be added.
49
- * Unclear how reactor will sort single methods, so bundle in one step.
50
- */
51
- @ Initializer (after = PLUGINS_PREPARED , before = PLUGINS_STARTED )
52
- public static void migrator () throws Exception {
53
- runMigrator ();
54
- }
55
-
56
46
/**
57
47
* Shortcut method for getting instance of {@link GitHubPluginConfig}.
58
48
*
You can’t perform that action at this time.
0 commit comments