Custom step template based on "Deploy to IIS" showing PackageId variable

bbeard's Avatar


12 Oct, 2017 07:20 PM

We have created a custom step template based on the "Deploy to IIS" step. In the template, there is a parameter, PackageId, which is used to select the package id to deploy.

When this custom step is added to the deployment process for a project, the description under the title on the "Process" page reads like this: "Deploy to IIS using package #{PackageId} from Octopus Server (built-in) to machines in roles:"

The variable doesn't seem to be substituted in this description. Is there any way to have it show the actual package name that is selected? This description doesn't seem to be configurable in the step.

Octopus version: 3.17.5

  1. Support Staff 1 Posted by Daniel Fischer on 13 Oct, 2017 12:49 AM

    Daniel Fischer's Avatar


    Thanks for getting in touch! Unfortunately, as the package is selected at release creation time, there is no way for Octopus to be able to evaluate this variable before then. Generally when a variable is used for this package ID section, it is used to dynamically select a package based on an environmental variable, which can not be known until you create a release for a particular environment.

    Let me know if you have any questions here. :)

    Best regards,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac