Skip to content

Commit

Permalink
Fix backward compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimilian committed Dec 2, 2016
1 parent 48c8939 commit ab3e574
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/hudson/plugins/s3/S3BucketPublisher.java
Expand Up @@ -83,8 +83,13 @@ private Level parseLevel(String lvl) {
protected Object readResolve() {
if (userMetadata == null)
userMetadata = new ArrayList<>();

if (pluginFailureResultConstraint == null)
pluginFailureResultConstraint = Result.FAILURE;

if(consoleLogLevel==null)
consoleLogLevel = Level.INFO;

return this;
}

Expand Down

0 comments on commit ab3e574

Please sign in to comment.