Can I override CI Environment Variable via Bitrise API?

#1

Can I override CI Environment Variable via Bitrise API?
I saw Bitrise Swagger API Document, I couldn’t find how to override Environemnt Variables, except POST: /apps/{app-slug}/bitrise.yml.

But our bitrise.yml is very huge file so it’s difficult to post after converting bitrise.yml into one string value.

If you have some solutions, can you tell me the solutions?

See also: https://api-docs.bitrise.io/#/

0 Likes

#2

Hey @funzin,

It’s not possible currently to set environment variables via the API. Can you describe your use case in more detail?

0 Likes

#3

Apple started 2FA mandatory and so we have changed to use AppStoreConnectAPI instead of FASTLANE_SESSION.
FASTLANE_SESSION is required for some(e.g.AppStoreConnectAPI doesn’t support upload / download dsyms fastlane actions.)

Now, I change FASTLANE_SESSION manually on Bitrise, but I wanna change it through using Bitrise API

0 Likes

#4

We have a page summarizing various steps and their possible authentication methods. Are you sure your use case is not covered by these options?

0 Likes

#5

It didn’t work when I set it before so I think we should set FASTLANE_SESSION manually.
But I just confirmed summarizing various steps and their possible authentication methods , Assigning Apple ID authentication to your app wasn’t set for some reason🤦‍♂️

Can I set it and check if there is no problem next week? If it occurs problem, I will ask you that again.

0 Likes

#6

I confirmed correct behavior!

0 Likes