I was looking to get the value of a Package Variable with the API but I can't seem to find how to do it.
I've tried using the GetVariableValues passing variations of some/all of the following: Environment_id, Application_Id, Release_Number, Build_Number, and Execution_Id but I always just get no values back.
I can use the GetPackageVariables but that does not give me their values only their names, at least it doesn't appear to. There are fields in the response that say Variable Value but it is not what the real value is and is instead a string of characters that do not make any sense. The fields are not set as sensitive either.
The response to GetPackageVariables looks like this:
[{"Build_Id":723,
"Variable_Name":"buildVersion","ValueType_Code":"S","Variable_Value":"MTQuMS4wLjI1", "Sensitive_Indicator":false,"EvaluateVariables_Indicator":false},
{"Build_Id":723,"Variable_Name":"JenkinsBuildNumber","ValueType_Code":"S","Variable_Value":"ODQ3","Sensitive_Indicator":false, "EvaluateVariables_Indicator":false}]
Thanks.
Product: BuildMaster
Version: 5.6.11