commit | 2cb77031f3749d94d5aab672f8de28163f5fff69 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <edwin.kempin@sap.com> | Tue Jan 21 16:59:14 2014 +0100 |
committer | Edwin Kempin <edwin.kempin@sap.com> | Tue Jan 21 17:02:59 2014 +0100 |
tree | 4c439ddc6eac060d1c7b4e3791a06e71e4d148ca | |
parent | 8b6c2914a932c04d7014738dae828d7b0b594ea7 [diff] |
InitJira has to do modifications of gerrit.config in run() method Modifications of gerrit.config done in the postRun() method are not persisted in the review site. Change-Id: Ib51d9c0f574e267b4a688566c90a375cc86187f1 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
diff --git a/src/main/java/com/googlesource/gerrit/plugins/hooks/jira/InitJira.java b/src/main/java/com/googlesource/gerrit/plugins/hooks/jira/InitJira.java index 4280dad..bfb8bc7 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/hooks/jira/InitJira.java +++ b/src/main/java/com/googlesource/gerrit/plugins/hooks/jira/InitJira.java
@@ -52,8 +52,8 @@ } @Override - public void postRun() throws IOException, ConfigInvalidException { - super.postRun(); + public void run() throws IOException, ConfigInvalidException { + super.run(); this.jira = sections.get(pluginName, null); this.jiraComment = sections.get(COMMENT_LINK_SECTION, pluginName);