-
Suggestion
-
Resolution: Done
I wanted to break my pipelines into steps (including parallel) but each step runs separately and env variables are not shared between them, so 3 steps that configure them has to be repeated for each step right now.
I'd like to have a way to specify that i want to keep env variables from previous step just like we keep files using "artifacts".
[BCLOUD-15849] Ability to pass environment variables to later steps
Pinned comments
All comments
All comments
https://www.atlassian.com/blog/bitbucket/easily-share-data-between-steps-in-bitbucket-pipelines "Security: This feature is not intended for sharing secrets. " - sadly that's what we want it for, would be nice to have more security around passing tokens between our login step and our condiditional sub-build steps. The implementation is just writing a script file dynamically and they auto-run the script file, it saves 1 line of code and doesn't add to the security of the existing method of sharing data between steps by writing artifacts to file.