.set of a non-existent variable
In the help for ".set":
.set env <EnvGroupName> "<VariableName>=<DesiredValue>" ... Note: Variables set by this command must already exist. ... Is there *any* way to get around this so I can .set a permanent variable in an environment that was not set at the start of the job? -- Tim McDaniel, tmcd@panix.com |
3 answers
In the help for ".set": you could call an api program to create the variable before you .set it. But the variable must exist before you call .set. There's not a way around it using the .set command. |
In article <idol2o>,
rhaig <rhaig> wrote: Tim McDanielwrote: I finally found the Perl API documentation. I see methods to read environment variables, but nothing on how to create or set them. -- Tim McDaniel, tmcd@panix.com |
Hi Tim, I've added an example of how to create an environment variable.
Brent Ulbricht Developer/Lead - RTC Build |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.