I’m writing a generic step template to do deployments for a platform. I’d like the consumers of the step template to provide their own package that contains their application. Can I do this with step templates?
You can do this by adding a Package parameter to your step template.
When used in a Deploy a Package step, you can choose the “Let the project select the package” option and choose the package parameter.
In a Run a Script step, you can add a refence package using the package parameter.
And then reference that reference package in your script.
When a consumer adds your step to their process, they’ll provide a package to your step via the parameter.