C# client pass variable to deployment/release

Hi there,

I have the project requires the parameter(variable) to be set during the deployment process.

I can’t find how can I do that with octopus c# client.

Could you help me?

Hi Pavel,

The DeploymentResource has a FormValues property that is used to pass values for prompted variables.

You can see how we use this in octo.exe here.

I hope that helps.

Thank you and best regards,
Henrik

Already solved, but that was not that easy to understand that I need to pass the id of the element as a key and get it from the template which is even more hard to get.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.