Jenkins Environment Variables not accessible to UFT test

We are using Jenkins with the Micro Focus Application Automation Tools addin to run UFT tests from ALM. It seems that the environment variables set by Jenkins (eg. JOB_NAME and BUILD_ID) are not available in the test using CreateObject("WScript.Shell").ExpandEnvironmentStrings. Is there any way the test can get access to those variables?

There are about 20 different variables, and any job parameters are also added.

Tags: