As the most of the piece of logic is common to "step" and "build step" so to use of existing code instead of having another plugin, step for uploading artifacts to nexus has been integrated in this plugin. And also this functionality is different from the existing out of the box step.
This plugin's main goal to upload non-maven artifacts to nexus.
Let me know what are the steps to be taken now. Is that mandate to go as a separate plugin for "step" for pipeline integration.
Will discuss about the credentials later once this closed.