Build parameters are not persisted as environment variables in Android builds

android
#1

I am exploring the Android build capabilities coming from an iOS pipeline migration. One thing I noticed is that during the Android builds the parameters for the build are not persisted. I checked the details of the build and it has the following:

{“branch”:“master”,“workflow_id”:“probe”,“remote_access”:true}

But the output of the following shows those environment variables are not set.

        #!/usr/bin/env bash
        echo remote_access is $remote_access 
        echo branch is $branch
        echo workflow id is $workflow_id 

Is this intentional? The iOS builds we have uses the remote_access variable to determine if it will emit additional information to the console. Thanks.

0 Likes