Overriding ENV_VARS not working

#1

Bitrise Build Issue Report template

Overriding of ENV_VARS not working

I have tried to override the ENV VARS as described here How to override environment variables through the Build Trigger API

I have also commented on the post about the issue, I have added a script step before the step where I need overridden variables.

Also have added necessary script as per the article, what I can see is , it is not overriding the variable when I trigger the build from API and pass the data to API.
When script step is executed it returns empty variable which is supposed to come from API call.

Environment:

Where did the issue happen?

Bitrise - iOS workflow and API call to trigger the build.

Which build Step causes the issue and which version of the step?

Script step causes this issue

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? :
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? :

Not specific

Local reproduction

No its in my workflow you cant reproduce

Here is the link to the comment which explains the issue on the actual post

0 Likes

#2

Hi there @destinysoftware :wave:

Can you please send us the log file or the URL of the related build and also enable Support Access on the Settings tab of the app ( https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/ ) so that we can take a more in-depth look? :slight_smile:

0 Likes