Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Access python os.putenv() variables inside Bitbucket pipelines

Yorick Cleerbout
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 21, 2022

Hi,

I know it is possible to access Bitbucket pipeline variables inside python using the os.getenv() method, but I was wondering if it is also possible to do this in the opposite way.

For example set a new variable by python using either os.putenv() or os.environ() and then access it through the pipeline for further automation?

 

Kr,

Yorick

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events