diff --git a/src/main/java/io/jenkins/plugins/ProvarAutomation.java b/src/main/java/io/jenkins/plugins/ProvarAutomation.java index 126f034..59c05d5 100644 --- a/src/main/java/io/jenkins/plugins/ProvarAutomation.java +++ b/src/main/java/io/jenkins/plugins/ProvarAutomation.java @@ -375,6 +375,7 @@ public void setInstallations(ProvarAutomationInstallation... provarAutomationIns save(); } + @POST public FormValidation doCheckBuildFile(@QueryParameter String value) throws IOException, ServletException { if (!Jenkins.get().hasPermission(Jenkins.ADMINISTER)) { @@ -385,6 +386,7 @@ public FormValidation doCheckBuildFile(@QueryParameter String value) return FormValidation.validateRequired(value); } + @POST public FormValidation doCheckTestPlan(@QueryParameter String value) throws IOException, ServletException { if (!Jenkins.get().hasPermission(Jenkins.ADMINISTER)) { @@ -396,6 +398,7 @@ public FormValidation doCheckTestPlan(@QueryParameter String value) return FormValidation.ok(); } + @POST public FormValidation doCheckTestFolder(@QueryParameter String value) throws IOException, ServletException { if (!Jenkins.get().hasPermission(Jenkins.ADMINISTER)) { @@ -407,6 +410,7 @@ public FormValidation doCheckTestFolder(@QueryParameter String value) return FormValidation.ok(); } + @POST public FormValidation doCheckSecretsPassword(@QueryParameter String value) throws IOException, ServletException { if (!Jenkins.get().hasPermission(Jenkins.ADMINISTER)) { @@ -418,6 +422,7 @@ public FormValidation doCheckSecretsPassword(@QueryParameter String value) return FormValidation.ok(); } + @POST public FormValidation doCheckProjectName(@QueryParameter String value) throws IOException, ServletException { if (!Jenkins.get().hasPermission(Jenkins.ADMINISTER)) { @@ -615,6 +620,7 @@ public FormValidation doCheckHome(@QueryParameter File value) { return FormValidation.ok(); } + @POST public FormValidation doCheckName(@QueryParameter String value) { return FormValidation.validateRequired(value); }