OctopusSuppressDuplicateVariableWarning not suppressing warning!

gavin.burke's Avatar


05 Jan, 2018 09:54 AM

I am on Octopus server 3.17.14 and having issues with the feature introduced about warning about having a variable name in a step template the same as project variable

I have added OctopusSuppressDuplicateVariableWarning as a variable in my project, scoped to nothing (so applies to every environment, step etc.) with a value of true and it is not suppressing warning, every deployment is still deploying with warnings - how do I stop this happening?

09:18:32   Warning  |       You have defined variables either on this project or in a variable set used by this project that override the values entered in the setup of this step. The most likely cause is that you are using a step template that has variables with the same name in its definition. We recommend either adding a prefix to your step template variables, or changing the names of the variables on your project. The conflicting variables are 'DeploymentId, WebAppConnection'. For more information, see https://g.octopushq.com/UserVariablesOverridingStepVariables.
                    |       To log this warning as verbose instead, add the 'OctopusSuppressDuplicateVariableWarning' variable to your project with a value of 'true'.

I have checked the release page, expanded the Show Variables and it is definitely listed there:

  1. Support Staff 1 Posted by Shane Gill on 08 Jan, 2018 10:50 AM

    Shane Gill's Avatar

    Hi Gavin,

    Thanks for getting in touch.

    I double checked OctopusSuppressDuplicateVariableWarning and it appears to be working. Could you please send a raw deployment log with the variable "OctopusPrintEvaluatedVariables" set to "true".


  2. gavin.burke closed this discussion on 23 Aug, 2018 02:18 PM.

Comments are currently closed for this discussion. You can start a new one.

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