diff --git a/scm-filter-aged-refs-common/src/main/java/org/jenkinsci/plugins/scm_filter/AgedRefsTrait.java b/scm-filter-aged-refs-common/src/main/java/org/jenkinsci/plugins/scm_filter/AgedRefsTrait.java index 2799a93..26c0a30 100644 --- a/scm-filter-aged-refs-common/src/main/java/org/jenkinsci/plugins/scm_filter/AgedRefsTrait.java +++ b/scm-filter-aged-refs-common/src/main/java/org/jenkinsci/plugins/scm_filter/AgedRefsTrait.java @@ -12,6 +12,7 @@ import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.NoExternalUse; import org.kohsuke.stapler.QueryParameter; +import org.kohsuke.stapler.verb.POST; public abstract class AgedRefsTrait extends SCMSourceTrait { @@ -46,6 +47,7 @@ public String getDisplayName() { } @Restricted(NoExternalUse.class) + @POST public FormValidation doCheckRetentionDays(@QueryParameter String value) { FormValidation formValidation = FormValidation.ok();