Skip to content

Commit

Permalink
Merge pull request jenkinsci#236 from DavidTanner/fix-config
Browse files Browse the repository at this point in the history
Fix config
  • Loading branch information
DavidTanner committed Dec 1, 2015
2 parents ca3b37a + 426743c commit 3746fdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ public boolean configure(StaplerRequest req, JSONObject formData) throws FormExc

try {
extensions.rebuildHetero(req, formData, getGlobalExtensionDescriptors(), "extensions");
// Now make sure we have at least one of the types we need one of.
Ghprb.addIfMissing(this.extensions, new GhprbSimpleStatus(), GhprbCommitStatus.class);
} catch (IOException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 3746fdc

Please sign in to comment.