If you are writing a Jenkins plugin and you want it to run as a build step and to work smoothly with pipelines, the following article shows you how to do it. I will show how I migrated a build step plugin to also work as pipeline plugin.
Continue reading