Workflow Specific Environment Variable

Is it possible to have a workflow specific environment variable (and/or modify one of the app variables for a workflow). If so, what is the best way to do that?

1 Like

Hi @mark100net,

Thanks for asking this here! :wink:

Sure it’s absolutely possible.

In bitrise.yml you can just add envs inside the workflow - http://devcenter.bitrise.io/bitrise-cli/workflows/#define-workflow-specific-parameters-environment-variables

On the current/old Workflow Editor UI, with the “Manage Env Vars” button (will set the env vars for the currently selected workflow):

On the new/“v2” editor UI, under “App Env Vars” (most likely will be renamed to “Env Vars”):

The Workflow specific env vars can overwrite the “app env vars” (the non workflow specific) ones. More info about this: Bitrise CLI - Bitrise Docs

If you have any questions just let us know! :wink:

1 Like