-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving PushdStep
here from workflow-basic-steps
#293
Conversation
return new Execution(path, context); | ||
} | ||
|
||
@Extension(ordinal = 100) public static final class DescriptorImpl extends StepDescriptor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added ordinal
return Set.of(TaskListener.class, FilePath.class); | ||
} | ||
|
||
@Override public Set<? extends Class<?>> getProvidedContext() { | ||
return Set.of(FilePath.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switched to Set.of
|
||
} | ||
|
||
public static class Execution extends StepExecution { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switched from AbstractStepExecutionImpl
Happend with org.jenkinsci.plugins.workflow.steps.PushdStep that was moved from workflow-basic-steps-plugin to org.jenkinsci.plugins.workflow.support.steps.PushdStep in workflow-durable-task-step-plugin jenkinsci/workflow-basic-steps-plugin#258 jenkinsci/workflow-durable-task-step-plugin#293
jenkinsci/workflow-basic-steps-plugin#86 (comment) #291 (comment)
Testing:
workflow-{job,cps,basic-steps,durable-task-step
andpipeline-input-step
. Configure and start a projectDSL
prints a warning:dir
is offered, once, and the help button indicates that it comes from this plugin.PushdStep
toworkflow-durable-task-step
workflow-basic-steps-plugin#258 and restart.