1 |
diff --git a/src/main/java/hudson/tasks/Ant.java b/src/main/java/hudson/tasks/Ant.java |
2 |
index 035cec4..21c14e3 100644 |
3 |
--- a/src/main/java/hudson/tasks/Ant.java |
4 |
+++ b/src/main/java/hudson/tasks/Ant.java |
5 |
@@ -52,6 +52,8 @@ import hudson.util.VariableResolver; |
6 |
import hudson.util.FormValidation; |
7 |
import hudson.util.XStream2; |
8 |
import net.sf.json.JSONObject; |
9 |
+ |
10 |
+import org.jenkinsci.remoting.RoleChecker; |
11 |
import org.kohsuke.stapler.DataBoundConstructor; |
12 |
import org.kohsuke.stapler.StaplerRequest; |
13 |
import org.kohsuke.stapler.QueryParameter; |
14 |
@@ -348,6 +350,9 @@ public class Ant extends Builder { |
15 |
return exe.getPath(); |
16 |
return null; |
17 |
} |
18 |
+ |
19 |
+ public void checkRoles(RoleChecker arg0) throws SecurityException { |
20 |
+ } |
21 |
}); |
22 |
} |
23 |
|