How to access variable generated by another stage

Hello,

Is there a way to get variables from another stage ?
I need to get the BITRISE_BUILD_NUMBER and BITRISE_PUBLIC_INSTALL_PAGE_URL from my previous stage and I don’t know how to do it.

Thanks :slight_smile:

Hello! Thank you for your feedback. This is not possible at the moment, but it is a highly requested feature so it’s on our radar.

1 Like

We’ve worked around this in our project by adding script that exports variable value to file, shares the file using deploy-to-bitrise-io step with pipeline_intermediate_stages inputs and then pulls the file using pull-intermediate-files step: Configuring a Bitrise Pipeline - Bitrise Docs

1 Like

Thanks @mlewandowskipt. I was thinking about something like this if there was no proper solution.

This was going to be my recommended workaround! thank you for sharing this!