Octopus Deploy to remember the value passed for the variable during promotion
We have multiple-clients deployment so going with the model Clients are set up as Environment
We have our Development Team and IT-Operations (ITOPS) Team . The reason for the request raised is because both teams do have access to each other’s environment so DEV Team do not know how many environments are set up and ITOPS team does not have access of DEV Environments or variables . Hence as Dev team we cannot scope any variable to a specific environment controlled by ITOPS .
The option left with DEV team is to use the prompt option in Variables to notify ITOPS team with the introduction of new variable .
Now what we require here is that once (for the first deployment after introduction of a new promoted variable) the ITOPS has entered the value for the prompted variable during promotion of the release to a specific environment/ client , Octopus Deploy should remember the value and use the same for the variable without re-prompting during future promotion/release to the same environment . BUT
The value for the prompted variable then should be saved under variable scoped to the environment so that the user is be able alter according to our client’s requirements in future if needed.
This is similar (not exactly the same) to something that we're looking for as well, although we were just looking for a way to mark a variable as required without requiring the prompt. If it was marked as required but not set for a role being promoted into, the deployment would fail immediately with an easy to digest error message so our Ops team would know they forgot to set a required parameter.
Harbinder Singh commented
Please refer to http://help.octopusdeploy.com/discussions/problems/25224-is-it-possible-for-octopus-deploy-to-remember-the-value-passed-for-the-variable-during-promotion for detail explanation.