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!
Setting Variables from File
-
Hi,
I am trying to set a variable from file. I would like to set it as [Key]=[Value]
I am not sure how to read it using the regex function on the "Set Variable Value from File" action item.
Can you please assist.
Thanks
KP
Product: BuildMaster
Version: 4.4.7
-
The built-in action only supports setting the value for a known variable, but you could either write a custom action/extension or add 3 actions that set:
key=(value) => $Value (key)=value => $Key
Then add a Set Variable Value action that sets
$Key
=$Value