Getting the value of environment variables in Android UI test

Sorry, really stupid question here: building and testing an Android app, want to get environment variable values from bitrise in the test runs, how do I that? Variables are set; at the top of the workflow I printenv the environment variables and can see their values, farther down in the work flow I run the UI tests, I’ve tried System.getenv() at runtime and System.getenv() in the build.gradle files, and it says the environment variables are not set. I can read in the PATH variable, though.
What am I doing wrong?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.