Skip to content
Permalink
Browse files
[FIXED JENKINS-13857] Changes in 1.463 requires select LogRotator JSO…
…N from the request
  • Loading branch information
vjuranek committed Sep 5, 2012
1 parent 8ccc409 commit b6578a22c58afb40aaa21988891aaa13860494c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/build_publisher/BuildPublisher.java
@@ -145,7 +145,7 @@ public Publisher newInstance(StaplerRequest req, JSONObject formData) throws For
req.bindParameters(bp, "bp.");

if (req.getParameter("publicLogrotate") != null) {
bp.logRotator = LogRotator.DESCRIPTOR.newInstance(req,formData);
bp.logRotator = LogRotator.DESCRIPTOR.newInstance(req,formData.getJSONObject("publicLogrotate"));
} else {
bp.logRotator = null;
}

0 comments on commit b6578a2

Please sign in to comment.