File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/org/jenkinsci/plugins/workflow/steps/durable_task Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 58
58
import org .jenkinsci .plugins .workflow .steps .StepExecution ;
59
59
import org .jenkinsci .plugins .workflow .support .concurrent .Timeout ;
60
60
import org .jenkinsci .plugins .workflow .support .concurrent .WithThreadName ;
61
+ import org .kohsuke .accmod .Restricted ;
62
+ import org .kohsuke .accmod .restrictions .DoNotUse ;
61
63
import org .kohsuke .stapler .DataBoundSetter ;
62
64
import org .kohsuke .stapler .QueryParameter ;
63
65
@@ -104,6 +106,7 @@ public boolean isReturnStatus() {
104
106
105
107
public abstract static class DurableTaskStepDescriptor extends StepDescriptor {
106
108
109
+ @ Restricted (DoNotUse .class )
107
110
public FormValidation doCheckEncoding (@ QueryParameter boolean returnStdout , @ QueryParameter String encoding ) {
108
111
if (encoding .isEmpty ()) {
109
112
return FormValidation .ok ();
You can’t perform that action at this time.
0 commit comments