Skip to content

Commit

Permalink
Fix JENKINS-49553
Browse files Browse the repository at this point in the history
Add @DataBoundConstructor
  • Loading branch information
slide committed Apr 3, 2018
1 parent fef1e84 commit ce68dcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/jenkins/plugins/publish_over/ParamPublish.java
Expand Up @@ -29,6 +29,7 @@
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.kohsuke.stapler.DataBoundSetter;

import java.io.Serializable;
import java.util.regex.Pattern;
Expand All @@ -40,6 +41,7 @@ public class ParamPublish implements Serializable {

private final String parameterName;

@DataBoundConstructor
public ParamPublish(final String parameterName) {
this.parameterName = parameterName;
}
Expand Down

0 comments on commit ce68dcd

Please sign in to comment.