Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix JENKINS-19291
Fixed the name of the item used to set the matrix mode internally.
  • Loading branch information
slide committed Aug 21, 2013
1 parent 12dae01 commit 0bd7b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -311,7 +311,7 @@ public Publisher newInstance(StaplerRequest req, JSONObject formData)

m.configuredTriggers = req.bindJSONToList(EmailTrigger.class, formData.get("project_triggers"));

m.setMatrixTriggerMode(req.bindJSON(MatrixTriggerMode.class, MatrixTriggerMode.class, formData.opt("project_matrix_trigger_mode")));
m.setMatrixTriggerMode(req.bindJSON(MatrixTriggerMode.class, MatrixTriggerMode.class, formData.opt("matrixTriggerMode")));

return m;
}
Expand Down
Expand Up @@ -45,7 +45,7 @@ f.entry(title: _("Attach Build Log"), help: "/plugin/email-ext/help/projectConfi
f.entry(title: _("Content Token Reference"), field: "tokens")

if(descriptor.isMatrixProject(my)) {
f.entry(field: "matrixTriggerMode", title: _("Trigger for matrix projects")) {
f.entry(field: "matrixTriggerMode", title: _("Trigger for matrix projects"), name: "project_matrix_trigger_mode") {
f.enum {
raw(my.description)
}
Expand Down

0 comments on commit 0bd7b7e

Please sign in to comment.