I’ve got a question here, that is buzzing me in the past few days… On a deployment pipeline that we have, we have this variable, that is nothing more than the hostname(localhost to be more precise) to replace in one of the steps.
That variable has set as scopes and environment and a deployment target.
I am implementing a CI/CD, where I deploy several VM’s, and register the VM’s on Octopus Deploy(this part is implemented). But now I need to make sure that the variable scope is updated, in order to have the deployment targets there in its scope.
Is it something that can be scripted?
Or, was just thinking… Maybe if in the variable scope I only have the Environment, and remove the deployment target from there, it will work that way?