Dynamic Step Template Parameters?

Is it possible to generate the values for the drop-down box in a step template using a PowerShell script?

Hi,

Thanks for reaching out. There isn’t a way to dynamically generate drop down values for a step template parameter. Can you tell me the scenario where you’re trying to do this? I might be able to help better if I understand this better.

Looking forward to hearing from you.

Thanks

Rob

I’d like for various people to be able to deploy certain versions of apps. I’d like to pull all of the versions currently available from TFS build drop locations.

Hi,

Thanks for the reply. Octopus generally works best with dependent apps/services when they’re packaged up and available as via a feed (either the built-in Octopus package repository or an external package repository). The benefit of this is that you can then select any desired package(s) when you create a release. Any package steps (including step template steps) will appear in the list of packages required when creating a release. The following URL has more information on package repositories. https://octopus.com/docs/packaging-applications/package-repositories

If this doesn’t suit, you can always add a suggestion to our User Voice page at https://octopusdeploy.uservoice.com. We actively review the popular suggestions and action them.

Hope this helps!

Thanks

Rob