Like I have a code file which uses a env variable name PORT. In local I have to export it within system so everything work fines as it is able to access that variable.But I need to pass bitbucket pipeline env variable to be used in place of that how to do this.
Hi @devender Kumar ,
The pipelines default system variables and other configured variables (repository or account) should be available in your script to use when executing your pipeline. More details: https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html
In local, you will need to export them as you are currently doing with PORT.
Regards,
Raul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.