Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
How references another variable value from custom variable setter?
-
I've written a customs variable setter, however I need access to the value of the %RELNO% variable for the build that's being created (custom variable is scoped as a build variable). How can I get it?
-
Unlike most BuildMaster custom editors, the VariableSetters do not have a Context object; we'll consider adding this in future SDK versions.
In the meantime, you'll have to "hack" it by looking at the HttpContext.Current.Request.Querystring for the release number, or perhaps locating the Release Number control on the page.